Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Bloy on April 14, 2013, 12:04:27 PM

Title: Youtube videos insertion
Post by: Bloy on April 14, 2013, 12:04:27 PM
Hi all,
How do you link to a youtube video so that an image of the video accompanies the link for playing, and not just a url link.

Thanks for a quick answer.  I'm sure it must be simple.

John Bloy
Title: Re: Youtube videos insertion
Post by: Bloy on April 14, 2013, 01:23:02 PM
I see quite a few of these playable image youtube videos diplayed throughout the forum, and many more with just the URL.   What's the trick?

I've searched for help, but none of the solutions (so far) from the web seem to work.  
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 01:43:07 PM
You can embed with the link youtube gives you, if you look at your video then click on the hare button then embed button you will get the address, you can then just paste that into the post, at least thats how I think its done, will soon find out as I am just away to try ;D
Hood
http://youtu.be/9mw811reb58
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 01:45:04 PM
Well thats not working obviously ;D
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 02:02:26 PM
trying again
http://www.youtube.com/embed/9mw811reb58" frameborder="0"
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 02:06:48 PM
I give up ;D

Best is I have done it before but was a long time ago
Title: Re: Youtube videos insertion
Post by: Bloy on April 14, 2013, 02:14:14 PM
I know things keep changin',   but I'll try some more things.   I have some test posts in the VIDEOS section here, but I'm not having any luck either.

<iframe width="560" height="315" src="http://www.youtube.com/embed/6s5oP2ihMuQ" frameborder="0" allowfullscreen></iframe>
http://<iframe width="560" height="315" src=http://www.youtube.com/embed/6s5oP2ihMuQ frameborder="0" allowfullscreen></iframe>
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 02:25:01 PM
http://www.youtube.com/v/9mw811reb58?version=3&amp;hl=en_GB
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 02:27:42 PM
Ok have managed it :)
(http://then your url here)
without the quotations

You have to put the size in that your video is for it to show correctly, mine is 420,315 yours is 520,315
Title: Re: Youtube videos insertion
Post by: Bloy on April 14, 2013, 02:28:12 PM
You did it... but I just got a empty white box again.  What did you do differently?

first I just posted the embed code. which you see above,
 The white box I got by selecting "insert flash" button and then placing the embed code into it.

iframe width="560" height="315" src="http://www.youtube.com/embed/6s5oP2ihMuQ" frameborder="0" allowfullscreen></iframe
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 02:30:49 PM
LOL I am trying to write how but keep getting it wrong, will try again


(Flash=420,315)then your url here(/flash)
but have the square brakets , cant remember what they are called

You have to put the size in that your video is for it to show correctly, mine is 420,315 yours is 520,315
Title: Re: Youtube videos insertion
Post by: Bloy on April 14, 2013, 02:35:52 PM
http://<iframe width="560" height="315" src="http://www.youtube.com/embed/6s5oP2ihMuQ" frameborder="0" allowfullscreen></iframe>

This is what I have, but with the "[" and "]" brackets on each end... this below is just so I can post what I put in.
(flash=560,315]http://<iframe width="560" height="315" src="http://www.youtube.com/embed/6s5oP2ihMuQ" frameborder="0" allowfullscreen></iframe>[/flash)

Where did you get the "520" for size?
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 02:53:05 PM
Ok can you post the link you get from youtube for the embed address again and I will show you which part you need
Hood
Title: Re: Youtube videos insertion
Post by: Bloy on April 14, 2013, 02:54:29 PM
<iframe width="560" height="315" src="http://www.youtube.com/embed/6s5oP2ihMuQ" frameborder="0" allowfullscreen></iframe>

the above is the "embed" information.
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 02:56:38 PM
You had different before, can you go back to youtube and copy the whole lot of the embed text again then post.
Hood
Title: Re: Youtube videos insertion
Post by: Bloy on April 14, 2013, 02:58:46 PM
<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/6s5oP2ihMuQ?hl=en_US&amp;version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/6s5oP2ihMuQ?hl=en_US&amp;version=3" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

The above is the "old" code...  My previous post has the "new?" code?    They have a choice between old and new.
Title: Re: Youtube videos insertion
Post by: Bloy on April 14, 2013, 02:59:45 PM
http://<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/6s5oP2ihMuQ?hl=en_US&amp;version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/6s5oP2ihMuQ?hl=en_US&amp;version=3" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>


Heh... just testing the "old" code..

http://youtu.be/6s5oP2ihMuQ

"http://youtu.be/6s5oP2ihMuQ"   this is another try.
Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 03:01:05 PM
http://www.youtube.com/v/6s5oP2ihMuQ?hl=en_US&amp;version=3

Ok its the part highlighted in the pic below you put between the flash
Hood
Title: Re: Youtube videos insertion
Post by: Bloy on April 14, 2013, 03:06:10 PM
Thank you LOADS, Hood!

Where would we be without you.

I didn't mean to bring such attention to my first video... I can't get used to my own voice!

John Bloy

Title: Re: Youtube videos insertion
Post by: Hood on April 14, 2013, 03:07:57 PM
;D I know the feeling, only watched my video of setting lathe tools once because of that ;D

Hood
Title: Re: Youtube videos insertion
Post by: stirling on April 15, 2013, 04:32:15 AM
Nice one Hood

As you've found, it's difficult to post tagged content when you're trying to describe it (rather than have it executed). Just as a tip you could do it like this

Code: [Select]
[flash=520,315]http://www.youtube.com/v/6s5oP2ihMuQ?hl=en_US&amp;version=3[/flash]

i.e. put it in code tags (the hash button) and then it doesn't get translated. (if you get my drift)

Ian
Title: Re: Youtube videos insertion
Post by: Hood on April 15, 2013, 07:15:47 AM
Thanks Ian :)

Hood