-
Author
-
March 25, 2015 at 08:00 #514375high-photohubParticipant
Hi there,
probably very obvious, but I’m totally stuck as to how to stop You Tube from automatically loading a random range of videos after my one has stopped playing.
I’m trying to embed my unlisted you tube video into a page using the VC video element, and have added the url as per wp codex info. All good until the end, when lots of other people’s videos are shown! Ideally what I’d like it to do is for the video to automatically go back to the start once it has finished. But even if it just stopped at the end and didn’t load anyone else’s random videos into my page would be good!
Attached screenshots of my video and what happens at the end FYI.
Any ideas much appreciated.
Attachments:
You must be logged in to view attached files.March 27, 2015 at 19:22 #51868RaduModeratorHello,
Just put this parameter at the end of link
The link should be like this : https://www.youtube.com/embed/z8GHf-aELjY?rel=0
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 30, 2015 at 08:05 #521445high-photohubParticipantHi Radu,
Just tested it again and nothing seems to work.
So using the VC video element we’ve tried various options using the embed link like this (with fake link inserted here):
https://youtube.com/watch?v=xyzABC-evk
https://youtube.com/watch?v=xyzABC-evk%3Frel%3D0
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/xyzABC-evk” frameborder=”0″ allowfullscreen></iframe>…when you looked at the frontend it only showed text (no video) AND it had somehow changed the text!). It now showed:
https://youtube.com/watch?v=xyzABC-evk?rel=0 – but as actual text in the page (no video).
And tried using the share link like this:
https://youtu.be/xyzABC-evk?rel=0
This worked but then had the same problem as originally, where lots of random videos display after it’s finished.
Please can you check this out for us again, so it plays in the page and then just stops at the end (none else’s videos after)?
As our site launches in 2 days I’d really appreciate getting this sorted out asap! Thanks.
March 30, 2015 at 08:08 #521455high-photohubParticipantNB: Actually I’ve just noticed i didn’t copy all the actual links we’d tried – all the ones above we’d changed to have the same ending like you suggested, so with the ?rel=0 at the end.
Sorry for any confusion.March 30, 2015 at 18:56 #52247RaduModeratorExample embedded without related videos at end.
COPY CODE<iframe width="640" height="480" src="https://www.youtube.com/embed/KMU0tzLwhbE?rel=0" frameborder="0" allowfullscreen></iframe>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 30, 2015 at 22:13 #523035high-photohubParticipantHi Radu,
nope, it doesn’t work like that for me. I used the exact same code (with link to our unlisted video of course) and it still showed other videos at the end – see attached.
Any other ideas?
Attachments:
You must be logged in to view attached files.March 31, 2015 at 15:56 #52398RaduModeratorCan you provide the embedded code ? I can try if you want
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 31, 2015 at 21:50 #52518sharmstrModeratorI think there is a disconnect between the two of you, so let me jump in
Radu – She is trying to do it using the Video VC shortcode. That shortcode strips the rel along with other parameters so it will never work for her. I had the same problem with that shortcode when I tried to force the playback quality.
@5high-photohub – You can put it in a text box using the full iframe code like radu has given you. The reason why its not working in your iframe example above is because you’re missing the ?rel=0 in the src section among other things.I’m going to respond with the exact code that I have working on my site in a private response next.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
March 31, 2015 at 22:30 #525405high-photohubParticipantHi sharmstr,
Well, I must be really thick or just not getting this, but i still can’t get it to work! I can see how it’s working on your test site but can’t do it myself. I’ve tried all sorts of combinations in the VC editor and sometimes I get the video just in the backend, with your default VC video in the frontend, and others it just shows the code as text in the frontend – ie. incorrect!
For my sanity, could you spell it out in step by step instructions as to what code you put where?!
Sorry for this – just seem to have a block with this!
Thanks, Jenny
March 31, 2015 at 22:50 #52553sharmstrModeratorOkay. First, quit trying to use the Video Shortcode. It will never work. btw is not a Kleo shortcode.
Anyhow, add a text block. When the text block settings come up, click on the text tab and paste the code. See attached. (I hid the url and video)
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.March 31, 2015 at 23:10 #525675high-photohubParticipantThanks – it now works fine! I was confused by the VC code you gave too, as it seemed like I should still be trying to add it in there. All Ok now.
For future reference, does that mean that the VC video embed doesn’t work as expected? Or it does as long as you don’t mind the rel=0 being stripped out?
Cheers, J
March 31, 2015 at 23:22 #52572sharmstrModeratorFor future reference, when someone gives you VC code, you add it using “Classic Mode”, not Visual Composers Backend or Frontend mode.
It doesnt work. Period. You’ll have to ask them why.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
March 31, 2015 at 23:40 #525875high-photohubParticipantThanks, all good now. I’ll steer clear of the VC video shortcode element from now.
March 31, 2015 at 23:41 #52589sharmstrModeratorLOL. Okay.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
April 24, 2015 at 12:21 #56037taigerParticipantEmbed video not showing…..
Hi What is the actual fix for this, can you give me a more detailed approch.
Regards Taiger
Attachments:
You must be logged in to view attached files.April 24, 2015 at 15:17 #56058sharmstrModeratorLook at my response above #52553. It was to use the text box instead. But this topic was for using parameters with youtube videos.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.