Hi I just update OA2 from 2.0 to 2.12. The media module does not work well. I cannot embed the video on youtube after insert media in the Editor. It inserted with a link, instead of a youtube embeded video(player). For example, to insert http://www.youtube.com/watch?v=W8CfuhU2s_Q, it will insert the following:

<span><img class="file-icon" src="/modules/file/icons/video-x-generic.png" title="video/youtube" alt="" width="16" height="16"><a href="http://www.youtube.com/watch?v=W8CfuhU2s_Q">中国书法五千年 ep7:楷规精义</a></span>

I check the corresponding version of Media but I did not find any information. Nobody else have the same problem with me? by the way, I installed another fresh version in my computer and it has the same problem.

hosais

Comments

hosais’s picture

Issue summary: View changes
dar1962’s picture

try using a iframe

mpotter’s picture

I am not able to reproduce this problem.

1) Click the Media button in the wysiwyg
2) Click the Web tab
3) Paste a URL from YouTube
4) Click Submit
5) Ensure the "original size" option is selected and click Save

It might not show the proper thumbnail in the wysiwyg editor but when you save the content node then it should show a video player. Worked fine when I tried it here, so not sure what's different on your end.

hosais’s picture

Hi mike,

I installed a clean test version at gotpantheon. It is oa 2.12 (but I installed 2.13 in my computer the result is the same).
You can access with
the administrator: admin
password: 123

At http://dev-itaroko.gotpantheon.com/content/test-youtube-video
You will see that youtube video cannot be embedded.

Hosais

Argus’s picture

Status: Active » Closed (works as designed)

I just added a YouTube video to your site, it works fine. Make sure you select the "web" tab from the media upload modal.

hosais’s picture

Thanks.

FYI
I tested with Firefox 27.0.1, which does not work. Today I test with google chrome version 32.0.1700.107 m then it can be embedded (but in the editor part, you cannot preview it).

Well then, I guess this should be the issue of the media module (it is under developing now so ...).

Thank you again.

hosais

Argus’s picture

So it's more a display problem? I use Firefox 18.0.2 (Mac) without a problem, your version is for Windows?

hosais’s picture

Yes, my firefox is windows.

I add more tests results on the web:

http://dev-itaroko.gotpantheon.com/content/test2 <- using google chrome

http://dev-itaroko.gotpantheon.com/content/test-3-firefox <- using firefox

http://dev-itaroko.gotpantheon.com/content/google-chrome-embeded-then-fi... <- using google chrom and then using firefox but JUST EDIT AND SAVE.

hosais

Argus’s picture

Weird stuff, does firefox change the URL when you save? Feel free to reopen the issue if you think this is an OA bug, but it is more likely media module related or a browser bug.