-
Embedding a YouTube Video
Good Monday Afternoon All,
Here is my problem now. I went to YouTube see (Getting Started With RPR) to find a video to embed on our real estate educational website. RPR represents "Realtors Property Resources". My problem is, I only want the original video to play and not refer to anything else. There are other videos shown after the original video plays. I don't want that. As soon as original video ends I want it to stop, but be ready for replay. Is this possible and if so, what is the process? B\
By the way, I am using Xara WD 365 Premium and all I had to do to actually get the video onto my webpage was, place a "placeholder" on my webpage, go to YouTube, find the video, and left click the video for copy. I then returned to my website page and pasted the code onto the placeholder and there was the video. I did not think it would be this easy. Thank you so much for any assistance. You all are wonderful.
bob
-
Re: Embedding a YouTube Video
Hi Bob
I believe that to stop the autoplay feature you just need to add the code: ?rel=0 at the end of the video URL
So for example the existing code may look like this:
<iframe width="560" height="315" src="//www.youtube.com/embed/VIDEO YOU ARE TRYING TO PLAY"
frameborder="0" allowfullscreen>
To:
<iframe width="560" height="315" src="//www.youtube.com/embed/THE VIDEO YOU ARE TRYING TO PLAY?rel=0"
frameborder="0" allowfullscreen>
Also this answer provided by Egg may be helpful: https://www.talkgraphics.com/showthr...hlight=youtube
Hope this helps!
-
Re: Embedding a YouTube Video
Hello and thank you for your quick response. Adding ?rel=0&hd-1 does not immediately end the video. Other videos show up in the same spot after the original video ends. Anyone with the time please visit youtube and check out: "Getting Started With RPR" which is (Realtors Property Resource) Thanks again.
bob
-
Re: Embedding a YouTube Video
Bob,
Nobbyy's right.
Try:
Quote:
<iframe width="560" height="315" src="https://www.youtube.com/embed/Z7VesokNNpQ?rel=0" frameborder="0" allowfullscreen></iframe>
There's no suggested videos at the end ;)
EDIT:
You have &hd-1 try &hd=1
-
Re: Embedding a YouTube Video
Here is what I believe is the complete code for the video I want to place on our website. As you will note, when the video completes the recording other videos show up. Is there a way to prevent that from happening. Once a visitor clicks on one of these other videos it takes that person away from our website making it almost impossible to return. I would appreciate any help I can get to overcome this problem. I just want the original video to play, then stop until the site visitor clicks the arrow again. Thanks much and sorry I did not put the info below in my other posts.
<iframe width="640" height="360" src="https://www.youtube.com/embed/dTdWpqcwf5Q" frameborder="0" allowfullscreen></iframe>
-
Re: Embedding a YouTube Video
Good evening again all, here is the code with ?rel=0&hd=1
However, I get the same results. As you can see, once the original video completes its run, 6 other videos are available for our website visitors to click on. This will take them off of our website without any means of returning. This is the problem I mentioned and the ?rel=0&hd=1 does not seem to help at all. Again, thank you all for any help I can get. Thank you so much.
<iframe width="640" height="360" src="https://www.youtube.com/embed/dTdWpqcwf5Q" frameborder="0" allowfullscreen></iframe>?rel=0&hd=1
bob
-
Re: Embedding a YouTube Video
I could be wrong, but, I don't think Google/Youtube would want to do anything that would prevent this. The whole point of their existence is to get people to their sites. Any time you use their content ( or anybody else's for that matter ) there is bound to be a link to the other party's website. "No such thing as free lunch" comes to mind.
but I did find this, so looks like you can do it: https://www.youtube.com/watch?v=uTxb6UUnJds
-
Re: Embedding a YouTube Video
Hi Bob, you've got the ?rel=0&hd=1 parameters outside the iframe code. Try this, it works.
Quote:
<iframe width="640" height="360" src="https://www.youtube.com/embed/dTdWpqcwf5Q?rel=0&hd=1" frameborder="0" allowfullscreen></iframe>
-
Re: Embedding a YouTube Video
Hi,
My experience with embedding YouTube videos - I go to the share settings on the video it self to select the embed options. One of the options is to check to not show suggested videos when the current video ends.
-
Re: Embedding a YouTube Video
Good morning Nobbyy, DoodleBerry, Egg Bramhill, I am sorry it took me to now to respond to all of the excellent advice you all offered. However,
most of you know I am not tech inclined, but learning. The code below is the YouTube Video I am interested in.
<iframe width="640" height="360" src="https://www.youtube.com/embed/dTdWpqcwf5Q" frameborder="0" allowfullscreen></iframe>
Now, even when i've added ?rel=0&hd=1 it does not seem to make a difference. Could it be do to what DoodleBerry mentioned? These advertising folk want visitors to their videos to go to other videos they advertise? I chose this particular video because I want one that was 2 minutes or less, so that our website could give some other factors, but we are a school and want to teach others about this application.
I more than appreciate each of you reaching out to help. That is what makes this forum so awesome and kind natured.
bob
-
Re: Embedding a YouTube Video
Good Morning KoKo and thank you for chiming in with helpful hints. I want to try all of the suggestions offered here and see which works best for me. I will certainly check this out. I do appreciate.
bob
-
1 Attachment(s)
Re: Embedding a YouTube Video
Bob, I told you what you were doing wrong in my reply (#8 above) :)
Here's a xar file with it working as required.
-
Re: Embedding a YouTube Video
Sheesh, this is not that hard. Copy the embed code and add it to a rectangle the same size as indicated in the code in the Placeholder > Replace with HTML Code [Body] area..
-
Re: Embedding a YouTube Video
Quote:
Originally Posted by
gwpriester
Sheesh, this is not that hard. Copy the embed code and add it to a rectangle the same size as indicated in the code in the Placeholder > Replace with HTML Code [Body] area..
Yes it is, if it is all seen as gobble-de-dook.
The correct IFRAME is:
<iframe width="640" height="360" src="https://www.youtube.com/embed/dTdWpqcwf5Q?rel=0&hd=1" frameborder="0" allowfullscreen></iframe>
It is knowing that a URL (bracketed src (which itself is the source) can have parameters (the detail following the ?).
All this must be inside the IFRAME opening tag as a list of space-separated parameters.
It is also knowing what you might change for the frameborder and what the converse of allowfullscreen might be.
Then other put the IFRAME parameters in a different order - a tyro should ask why.
And here is me using capitalised IFRAME for the Tagging. Will that work? (Yes) but why won't it for the parameters?
Also <IFRAME ... /> without the closing </IFRAME> works too; which is the latest format Xara delivered for imported MP4s.
That is why there are so many widget generators out there.
Acorn
-
Re: Embedding a YouTube Video
Hello Egg Bramhill and yes you did tell me what I was doing wrong. However, I did not truly understand what you were trying to tell me. As you could see, I placed the code: ?rel=0&hd=1 at the very end of the video code line which was a mistake. I do appreciate you sending me the Attached Files
"bobs-video.xar" but I kept getting an error message
C:\Users\Admin\Application Data\Local\Template\bobs-video.xar
The application has failed to start because it's side-by-side configuration is incorrect.
Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Mr. Bramhill, I have no idea what all that means and I apologize. I'm sure I should know. What I did do was to copy the code you provided and tried to enter that into that video. It still ended showing 6 additional videos in that same area. I am going to go back to work and get that code you sent me to work properly. I more than appreciate you and the efforts of everyone here. What a team of great folk.
bob
-
Re: Embedding a YouTube Video
Quote:
Originally Posted by
musicmanrobert
...an error message
C:\Users\Admin\Application Data\Local\Template\bobs-video.xar
The application has failed to start because it's side-by-side configuration is incorrect.
Please see the application event log or use the command-line sxstrace.exe tool for more detail
bob
bobs-video.xar should be saved into a Download area, your Desktop or a selected folder; it should not be put in C:\Users\Admin\Application Data\Local\Template\.
If this is your common practice, I suggest to stop doing this; it might just be the cause of your difficulties.
Egg's file opens and works exactly as stated on the tin with no "advertised" videos at the end.
Acorn
-
Re: Embedding a YouTube Video
Acorn, I have no doubt that Egg's file works as he stated without problems. Again, I am brand new at really learning all the tech stuff and some things still don't make any sense to me now. I'm working on it. Now, you mentioned I should not be putting stuff in: C:\Users\Admin\App Data\Local\Template\. I have never paid this any attention and it happened automatically. Had you not mentioned it, I would not have known there may be a problem. Now, if you have the time, tell me what I can do to keep this from happening. I would much rather have downloads go somewhere else. As I stated earlier, I am going to work with the code Egg send me til I get it working. Thank you so much.
bob
-
Re: Embedding a YouTube Video
Quote:
Originally Posted by
musicmanrobert
Acorn, I have no doubt that Egg's file works as he stated without problems. Again, I am brand new at really learning all the tech stuff and some things still don't make any sense to me now. I'm working on it. Now, you mentioned I should not be putting stuff in: C:\Users\Admin\App Data\Local\Template\. I have never paid this any attention and it happened automatically. Had you not mentioned it, I would not have known there may be a problem. Now, if you have the time, tell me what I can do to keep this from happening. I would much rather have downloads go somewhere else. As I stated earlier, I am going to work with the code Egg send me til I get it working. Thank you so much.
bob
Bob, as i don't know what you browser setting are, i don't know how you are even saving things into an App Data location. I can only assume you are a clicker and follow your instincts. To recover some normality, use Google to search for browser settings and re-point to C:\ Downloads.
Drag Egg's file onto your Desktop and try running it from there. There is nothing you need to do to Egg's file, it just works.
Acorn
-
Re: Embedding a YouTube Video
Acorn,
Thank you for your continued prompting and pushing til I was able to focus on exactly what your instructions were regarding Egg's file. Thank you for your support. I will now look into doing something about the App Data Location. Thank you again sir.
bob
-
Re: Embedding a YouTube Video
GW Priester, again, you've been a big support. As I've stated before, when one is not tech inclined, it is hard because I really did not understand. Until I learned how to set up and enjoy Hi-End Audio Systems it was hard. It took me a while but it's no longer a problem. I will say it takes folk like yourself and others here who are willing to take the time until we get it. Thank you so very much. The video works like it should.
bob
-
Re: Embedding a YouTube Video
I want to take the time to thank everyone of you here. Were it not for you all, I would never have gotten to enjoy this video working as it should and stopping at the end, waiting for someone to press the start button again.Thank you so much for your great patience and precious time. I understand you each have other things to do, but you take the time to help those of us and point us in the right direction. Thank you again all. Hurray!!!!!:):)
bob
-
Re: Embedding a YouTube Video
Glad to here you got there in the end Bob. What seems obvious to to those people that know often seems totally alien to those who don't. I hold my hand up to being in the majority of those who don't the majority of the time.
-
Re: Embedding a YouTube Video
Mr. Egg Bramhill,
You are so very right. I find myself wondering why there are so many who can't understand why a pair of high quality speakers will not work well with cheap cables. However, I was there at onetime myself. Thank you for recognizing there are those of us who just don't know. There is just so much I don't know when it comes to stuff you all know well. However, I understand it will take time. I think the most important thing here is, you and others don't give us who know nothing at all or very little, the idea we must be dummies because we don't know. I can't recall a time I've come here and did not feel comfortable asking a question. That's the great thing about the folk here, you included.
Now, i've got to ask if the code you provided will work for most of the videos on YouTube? My second question is, are folk putting videos on mobile phones? From the size of the video you got working for me, it appears to be too large to fit a cell phone. Just wondering. Thanks again to you and everyone who don't mind reaching out to those of us on a slower path. :) :)
-
1 Attachment(s)
Re: Embedding a YouTube Video
Hi Bob, Thanks. Okay I can't go into details right now but I'll attach a xar file with two variants. Perhaps you can figure out what's going on, I haven't the time to expand more, just look at the placeholders between the variants.
-
Re: Embedding a YouTube Video
Thank you again Egg Bramhill. I will work with what you've sent me. I am sure you've made it as easy to understand as you can. I am more than appreciative sir.
bob