Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: YouTube Video Not Found + Wyvern Video Embed Not Working

Status Resolved
Add-on / Version Reel
Severity Blocker
EE Version 24

Dustin Hansen

Jun 18, 2013

We are testing this out but no matter what we do, Wyvern Video cannot find/embed this video: http://www.youtube.com/watch?v=Dj3xImaNM0I

The video is public and embedding is enabled.  What are we missing?

I understand that this issue likely resides on YouTube’s end and if so, that’s fine. But, pasting the URL into Wyvern Video and clicking “OK” is resulting in embed code that is invalid.

This embed code from YouTube (stripped down to the bare essentials) works:

<iframe src=“http://www.youtube.com/embed/Dj3xImaNM0I”></iframe>

The embed code that Wyvern Video is producing (does not work):

<iframe class=“video_youtube” data-query=“http://www.youtube.com/watch?v=Dj3xImaNM0I” data-video-id=”” data-video-thumbnail=”” data-video-type=“youtube” height=“360” src=“http://www.youtube.com/embed/?rel=0&wmode=opaque&hd=1” width=“640”></iframe>

The src of the iframe is incorrect.  Please help? The client is not happy right now.  Is there any way to simply provide Wyvern Video a URL and have it generate the right code?  Like Antenna (http://devot-ee.com/add-ons/antenna)?

#1

Dustin Hansen

Note: The need for direct embeds is also important because all of our client’s videos will be unlisted. This means they won’t show up in search. Shouldn’t the user be able to embed these videos as well as those that show up in search?

#2

BoldMinded (Brian)

Did you try putting just Dj3xImaNM0I in the search field?

#3

Dustin Hansen

Yes, but no dice. It just seems like YouTube hasn’t indexed the video. I’m sure it will pick it up by tomorrow but I’m wondering if there’s some way to embed video WITHOUT looking it up in search results?

#4

BoldMinded (Brian)

No, there is no direct embed.

#5

Dustin Hansen

Do you see any issues using this plugin? http://ckeditor.com/addon/youtube

I installed it but when I clicked the YouTube icon, the screen went white to display a modal but no modal was displayed.

#6

BoldMinded (Brian)

If the screen went white and there is no modal, it means there is probably a JS error. Check the console again.

#7

Dustin Hansen

I will do so, but before that I’ll give Wyvern Video another crack. You mention that there’s no way for us to embed a video without using the search tool, but this is what is published on the add-on’s Devotee page:

“Every attribute associated to a video are available at your disposal to create your own embed tags.”

Where do you get access to these attributes? All we see is ID, width and height. And we can only get to those via the search tool.

#8

BoldMinded (Brian)

Selecting a video for the field will not let you create your own tag, it has to be searchable and found on YouTube so it can grab all those attributes and save them. In the template, yes you can create your own embed tag from the attributes saved to the field, but only if its its own field. If you embed a video into a Wyvern (CKEditor) field, you cant separate everything out, it just creates the embed tag for you b/c its saved as one big text field in the DB, not a JSON array of data that can be separated in the template.

#9

Dustin Hansen

Regarding not being able to add Wyvern Video, Wyvern 1.6 upgrade fixed it (http://boldminded.com/support/ticket/501).

You might want to add a note to Wyvern Video’s documentation noting that the tool is not compatible with unlisted YouTube videos. We thought we had a good solution for the client but we are now kind of left scratching our heads over what we might do. Our best bet is to try the YouTube plugin but now I see that it looks like you took the multi-select box for installing plugins out of Wyvern 1.6? I see YouTube in the toolbar options but it won’t show up in ckeditor.

#10

Brian Litzinger

The multi-select isn’t needed. Just add the plugin to the proper folder and it’ll show up in the toolbar as an option, then add it to the toolbar.

#11

Dustin Hansen

We have done this with the YouTube plugin but it is not appearing in ckeditor, even after clearing the cache. We have added it to the toolbar but it is not showing up.

#12

Brian Litzinger

Make the change I noted here: http://ckeditor.com/addon/youtube?page=1#comment-126406

In plugin.js, change line 15 to this:

editor.ui.addButton( 'Youtube',

I’ve seen this numerous times, its damn frustrating when people don’t name the button properly.

#13

Dustin Hansen

This plus the 1.6 version of Wyvern fixed everything! Thanks a ton! Happy days are here. 😊

Login to reply