Friday, March 2, 2012

Re: [YouTube-API] Youtube iframe api cpu usage?

The iframe API will use flash playback in most cases, so you're adding
an extra (thin) layer of code between you and the video.

If you're seeing the HTML5 video player in the iframe, then I would
expect load to be lower.

Tim Wintle

On Wed, 2012-02-29 at 16:56 -0800, vladimir wrote:
> I've been working on a project that uses Youtube's javascript api
> using the flash object embed method (swfObject embed), but today
> learned that I can use the iframe player api and use HTML5 version. It
> sounded awesome because getting rid of Flash would mean lower cpu
> usage....at least that's what I thought.
>
> Anyway I worked on it for a while and turned it into an html5 version,
> but the cpu usage hasn't changed that much. Actually in most cases it
> seems it's even higher. I understand there are other benefits of using
> HTML5 player, but my highest expectation was on the low resource usage
> part, so I am quite disappointed.
>
> Maybe I did something wrong? Can anyone who implemented iframe api
> share their experience in terms of cpu usage? I'm thinking about going
> back to swfObject, since that seems more stable.
>


--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment