contao / core

Contao 3 → see contao/contao for Contao 4
GNU Lesser General Public License v3.0
490 stars 214 forks source link

Attribute "video/x-youtube" is not supported #5817

Closed leo-unglaub closed 10 years ago

leo-unglaub commented 11 years ago

Hey Leo, the Youtube content element does not work in Contao 3. I even can replicate it in the online demo. You are using a not supported content type.

Specified "type" attribute of "video/x-youtube" is not supported. Load of media resource http://www.youtube.com/watch?v=nsqh9jHkHlM failed.

Greetings Leo

leofeyer commented 11 years ago

It perfectly complies with the RFC 2045 though (see https://github.com/johndyer/mediaelement/issues/357). How do I reproduce this in the online demo?

leo-unglaub commented 11 years ago

Elements starting with X- are always custom. So you can't be "not RFC compatible". However the javascript failes because of this error. How to reproduce:

Greetings Leo

aschempp commented 11 years ago

Maybe it does not work because your browser does not support flash?

leo-unglaub commented 11 years ago

No, i picked a video for testing that works with HTML5 technology. I NEVER use flash.

aschempp commented 11 years ago

Try the official MediaElementJS page, I think YouTube is only supported through flash :-( http://www.mediaelementjs.com/examples/?name=youtube

leofeyer commented 11 years ago

@LeoUnglaub You are such a dork. While listing steps on how to start a computer and open a web address in a browser, you missed the one important thing: which YouTube ID did you try? I tried it with the one from the explanation text and could not reproduce the issue. The video played fine, no flash fallback, no error messages.

leo-unglaub commented 11 years ago

i posted the video id in the error message in my first post. i skipped that part in my howto because i did not wanted to go to much into details. ;-)

no. i did not post it because i does not matter. i had this bug with every id i tryed. greetings leo

s-nunez-gosub commented 11 years ago

@LeoUnglaub has right. I have tested it with Chrome, Safari and Firefox (Mac OX 10.8) and it doesn't work

screen shot 2013-06-14 at 14 50 31

aschempp commented 11 years ago

Did you (both) enable jQuery and the according j_mediaelement script in the page layout?

s-nunez-gosub commented 11 years ago

Ok I thought yes, but I didn't it. Now it works fine. Thank you @aschempp

leo-unglaub commented 11 years ago

Did you (both) enable jQuery and the according j_mediaelement script in the page layout?

Yes, i did. But i still have this error.

leo-unglaub commented 11 years ago

selection_001

selection_002