Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Youtube embed
New Landing › How can we help? › Cardinal › Youtube embed
- This topic has 11 replies, 3 voices, and was last updated 9 years by Kyle – SUPPORT.
-
Posted in: Cardinal
-
November 12, 2014 at 2:43 pm #127662
Hello, I don’t seem to be having much luck with the video player, if i insert the youtube link in the video link section all I get is a black box the size I set and and a message that there is an error, I am using this embed code: http://www.youtube.com/embed/_9_ywmeJWKI?rel=0
Now if i use a code snippet element and use this code it works, so there is nothing wrong with the video:
<iframe width=”480″ height=”320″ src=”//www.youtube.com/embed/_9_ywmeJWKI?rel=0″ frameborder=”0″ allowfullscreen></iframe>What is the correct code to use in the video link field?
Also on the same subject I want to disable full screen by adding &fs=0 to the end of the video link, however wordpress keeps covnerting the link to html as in & instead of & so I am getting this: ?rel=0&fs=0 instead of this: ?rel=0&fs=0
Thanks.
November 12, 2014 at 4:11 pm #127699Hi
Don’t use the embed link, just copy the actual url of the youtube video
– Kyle
November 12, 2014 at 4:46 pm #127717Hey Kyle
If I use the link from the direct youtube URL, as in: http://www.youtube.com/watch?v=_9_ywmeJWKI
it works but ignores the video size field and also the rel=0&fs=0 settings.November 12, 2014 at 4:54 pm #127720Yes I’m afraid those settings are not supported
– Kyle
November 12, 2014 at 4:59 pm #127722I don’t understand, then what is the point of the video element if half the settings are useless?
see picture.
Attachments:
You must be logged in to view attached files.November 12, 2014 at 5:13 pm #127727No of course not, I mean the embed settings from youtube for e.g. autoplay etc
– Kyle
November 12, 2014 at 5:24 pm #127730Ok forget the deny fullscreen command and the don’t show relevant videos command as these seem to be confusing the issue somehow, I’m not sure where autoplay came from, anyway as mentioned if I use the direct URL link from youtube, the video shows up, but the sizes I put in the size setting for the video element that I just sent you an attachment of get ignored.
November 12, 2014 at 6:24 pm #127744Just to add, the main reason I purchased this theme is for the video functions and I only did so after asking support if self hosted videos and video support in general were supported, and I was told yes, & so far I haven’t had much luck with either, apologies for being blunt but this is really wasting my time.
I have tried adding the video in a slide then adding that to the page, adding a video directly from your video element, I’ve used raw html, and code snippet, which by the way is the only one that has worked properly so far, but does not allow correct positioning.
Can you explain how to get videos functioning properly, both self hosted and youtube and not just give me the quickest answer to part of my support request, or an answer that is completely irrelevent, and has not been tested by yourself.
I’m starting to wonder if you guys get paid by the post.
Thanks.
November 12, 2014 at 9:06 pm #127795Come on Kyle there’s no point crying cause you didn’t read my support request properly <grin>
November 13, 2014 at 2:29 pm #128048Hi @shanehogan,
We don’t currently support extra parameters in the URL at this time, although it’s something on our list to add in the near future. If you’d like to use a custom embed, but keep the video responsive, then simply use this code:
<div class="sf-video-wrap"> <iframe width="480" height="320" src="//www.youtube.com/embed/_9_ywmeJWKI?rel=0" frameborder="0" allowfullscreen></iframe> </div>
As far as the video size settings go – they are used to determine the size of the video – not the output. The output is resized to fit the grid based on the column width that you have set for the video. The reason for this is so that the video is responsive through all viewports. It wouldn’t make sense for the video to output at a fixed size on a responsive site.
– Ed
November 14, 2014 at 12:43 am #128200Excellent, thanks very much Ed.
November 14, 2014 at 8:31 am #128242Thanks Ed
-
Posted in: Cardinal
The topic ‘Youtube embed’ is closed to new replies.