Closed (fixed)
Project:
oEmbed
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2011 at 07:57 UTC
Updated:
21 Feb 2014 at 19:40 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedIt's likely that your regular expressions for YouTube are not catching the URL. YouTube uses a lot of different URLs for videos. Use this list to populate the schema of the YouTube provider defintion.
http://*youtube.com/watch*
http://*.youtube.com/v/*
https://*youtube.com/watch*
https://*.youtube.com/v/*
http://youtu.be/*
http://*.youtube.com/user/*
http://*.youtube.com/*#*/*
http://m.youtube.com/watch*
http://m.youtube.com/index*
http://*.youtube.com/profile*
http://*.youtube.com/view_play_list*
http://*.youtube.com/playlist*
Comment #2
anewday commentedI tried the above, it's still not working.
Comment #3
patoshi commentedwhen i render youtube via the link field, it just outputs this as text:
YouTube - Broadcast Yourself.
with the link going to just this: http://www.youtube.com/watch
Comment #4
jacobpov commentedI'm having the same issue now.
Comment #5
patoshi commentednot working so im just using this for now: http://drupal.org/project/video_embed_field
Comment #6
jacobpov commentedany updates on this issue ?
Comment #7
patoshi commentednope!.. im just using that other module for now as this isnt working.
Comment #8
patoshi commentedsame problem with the latest update for youtube. All it shows is
YouTube - Broadcast Yourself.
with the link going to just this: http://www.youtube.com/watch
For some reason it just strips everything after the word "watch" in the url. But I did do a test on the test page on the oembed configuration page, and it works there. So im not sure whats wrong.
Comment #9
Anonymous (not verified) commentedThis is fixed in http://drupalcode.org/project/oembed.git/commit/47cb640 and will appear in the 7.x-0.x dev release soon.
Comment #10
Anonymous (not verified) commentedComment #12
IWasBornToWin commentedNot sure how this was fixed? I'm not able to get any type of youtube video to play in the body of a node via wsiywig. The only thing it does is create an image of the video from you tube and add that image to my media library. It then inserts a link to the image in the body of the node.
I've enabled the oembed filters in wysiwig profiles, dones the tests, added all the list of urls, etc. Everything works except that real need--embedding the video. Any suggestions?
Comment #13
bryancasler commentedoembed is generating the follow unworking link for a youtube URL
http://www.youtube.com/embed/3b2YdY8dC7E?fs=1&feature=oembed
This is the actual link: http://www.youtube.com/watch?v=3b2YdY8dC7E
Update: seems to be a problem with my chrome browser. Screenshot: http://snpr.cm/cZ808v.png
Comment #14
jjclint commentedI'm using the latest dev and most url schemes for youtube videos still don't work with oEmbed, so far I've managed to display videos only with the following url schemes:
/watch?v=
/playlist?list
(I'm using the test function to confirm this)
All that is being said even though I have all the url schemes mentioned in #1 written for the youtube provider.
It might be worth mentioning that I'm using a file field to embed the videos to (rather than just embedding them in the body) but as I've said it doesn't even work in the oEmbed test mode.
Comment #15
darri commentedI have this exact same issue embedding youtube videos in WYSIWYG CKEditor via the Media module. A preview image appears instead of the video. Been looking for a solution for about 4 hours with no luck. Have tried everything. Now resorting to importing Embedly into the page and letting it do its work directly on links, but would prefer to use the Media module as I'm using that elsewhere on the site in file fields (i.e. not via CKEditor), where it works perfectly well.
Can anyone describe the precise setup required to embed youtube videos using WYSIWYG CKEditor that uses the Media module? I've tried oEmbed and Media:Youtube, both outputting an image instead of a video.
Comment #15.0
darri commentedupdated
Comment #16
FreeXenon commentedI am also having an issue with this.
No Youtube videos are functioning.
Comment #17
devin carlson commentedThis is fixed per #10.
The other reported issues should now be fixed in oEmbed 7.x-1.x with #2159303: Remove WYSIWYG special casing and #2128389: Provided a default display configuration.