This is not a module problem, but people need to be aware.

Seems that versions of the projekktor library newer then 1.0.01 show javascript errors in the console with youtube and don't allow closing ads. I've also noticed a hiccup that happens when the player moves from one video to the next with normally hosted files in continuous play mode.

If the latest version of projekktor (currently 1.0.08) gives anyone too much grief try to get a hold of 1.0.01. That's the version I'm using on my site demo.

I'm currently trying to narrow down the problem.

Comments

jamesbenison’s picture

I found a YouTube bandaid

Projekktor allows youtube videos to be added using the old YouTube embed API and the new super duper HTML5 iframe API. The errors only occur with the iframe API.

To get the player to use the old API in the newer releases:
1) Edit your preset.
2) In the add new option enter "useYTIframeAPI" (no quotes) in the text field and add the option.
3) In the text field next to that option put the number "0", "false", or "FALSE" (no quotes) and save.

You can add any option that projekktor accepts this way even if it's not selectable in the dropdown menu. That said I will be adding more options to the dropdown menu in the near future.

The full list is here: http://www.projekktor.com/docs/configuration#config

I'm using version 1.0.08 for the site demo now.

suldan’s picture

Yes this solved the problem. But the player stops playback when closing add. In Firefox and Chrome. z-index problem?

jamesbenison’s picture

You are correct. I have noticed that too.

Any click interaction with the screen seems to toggle between "play" and "pause". I have not had time to investigate this yet, but it's on the agenda.

jamesbenison’s picture

Issue summary: View changes

Forgot a word.