Linear

Youtube videos no longer work - iFrame API is changed (Projekktor Core)

by Georgep, Thursday, June 14, 2012, 11:48 (370 days ago)

Seems that Google has made some changes in their iFrame API and also made it final and no longer experimental.

https://developers.google.com/youtube/iframe_api_reference#Revision_History

However now all youtube videos in projekktor fail to play. No matter if you have or not the flash player enabled.

In all browsers I get the, sorry your browsers does not support this or the snow image.

You can see the problem by player one of the projekktor own demos that use youtube videos here.

Hope you can solve this quickly Sascha!

Greetings,
George

  1134 views

Youtube videos no longer work - iFrame API is changed

by Georgep, Thursday, June 14, 2012, 12:27 (370 days ago) @ Georgep

Seems the problem is with Safari and Chrome only (or native HTML5 video)
When there is Flash player enabled it works on IE and Firefox.

In Safari and Chrome or when Flash is not availble, it seems the iFrame (or the player model) for youtube - just never got created and the YTPlayer is never initiated? Maybe some minor core error stopts i all?

-George

  894 views

Youtube videos no longer work - iFrame API is changed

by Georgep, Monday, June 18, 2012, 13:01 (366 days ago) @ Georgep

Hi Sascha,

I saw your newest version 1.0.20 and when you have Flash now youtube videos play well, but without flash they don't play at all.

So maybe check your html5 checking code...

I testen your own youtube demos and without flash they don't work on Chrome, Safari and Firefox ...

Please fix this. The youtube own iFrame API sample code is working fine in both cases...

Greetings,
George

  881 views
Avatar

Youtube videos no longer work - iFrame API is changed

by sascha ⌂ @, Monday, June 18, 2012, 21:43 (366 days ago) @ Georgep

Hi George,

thanks for your feedback. Anyhow I´ve decided to officially depreciate youtube-support with the next release and for several reasons:

- Hacking the API suckz. Keeping the core-player X-browser compatible is time consuming enough. In the past YT modified the API player several times. The cases are legion where I tried to fix something which figured out to be a bug in or an undocumented change of the HTML5 YT API.

- YT isn´t altruistic. The API is for spreading YT content and to pump out ads at least. This fact sometimes limits the way the player can be used. While this is by intention it breaks my personal idea of a free X-browser video platform.

- The key-users of Projekktor do not seem to be interested in the YT API since they are content provides not just multipliers. They are the ones who pay for Projekktor or donate at least, helping keeping this projekkt alive.

However this decision isn´t final. Especially not for 3rd party APIs in general. E.g. I´m currently re-studying the Vimeo-API. Let´s see what time (and energy) will come up with. I´m sorry for any inconveniences.

- sascha

---
Help keeping free Projekktor support alive. Consider to buy supporter license: http://shop.projekktorxl.com/shop/supporter-license/

Tags:
depreciated, youtube, api, html5

  2200 views