urbanglasgow.co.uk
For information past, present & future on the city of Glasgow, Scotland, UK
 
  FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups    Join! (free) Join! (free)
  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 

Embedding YouTube & Vimeo Videos
Page 1, 2  Next
 
Post new topic   Reply to topic    urbanglasgow.co.uk Forum Index -> Forum Issues
View previous topic :: View next topic  
Author Message
James
Moderator
Moderator


Joined: 30 Jul 2007
Posts: 6665


Location: Utopia Planitia

PostPosted: Fri Aug 17, 2007 6:43 pm    Post subject: Embedding YouTube & Vimeo Videos  Reply with quote Report this post to Mods

First, go into your own profile and make sure the 'Always allow HTML' option
is selected:




Then, when posting a reply, make sure there is no tick in the 'Disable HTML
in this post' box:




Finally, the YouTube embed code looks like this:

Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/qXDuoiD3yyg"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/qXDuoiD3yyg" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>


Remove everything except the code in the 'embed' tags, like this:
Code:
<embed src="http://www.youtube.com/v/qXDuoiD3yyg" type="application/x-shockwave-flash" width="500" height="375">


Et voilą.  




James H
_________________
The blinding obvious is what you showed to me.....


Last edited by James on Fri Nov 25, 2016 9:01 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
James
Moderator
Moderator


Joined: 30 Jul 2007
Posts: 6665


Location: Utopia Planitia

PostPosted: Mon Dec 03, 2012 1:29 am    Post subject: Reply with quote Report this post to Mods

Embedding Vimeo Videos

Vimeo videos can be embedded but they are are bit different to YT videos.
For a start, they tend to use the <iFrame> tag which doesn't work on this forum.

Instead, use the code below to embed a Vimeo video.
Code:
<embed src="http://vimeo.com/moogaloop.swf?clip_id=12345678&server=vimeo.com&show_title=0&show_byline=0&show_portrait=0&color=00adef&fullscreen=1&autoplay=0&loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="360">
</embed>

The only thing you'll need to change is the height & width numbers and, most
importantly, the clip_id number, 12345678 on the code above

Be sure not to delete the & sign after the clip_id number. Every Vimeo video
has it's own unique clip_id number.

Et voilą.  



James H
_________________
The blinding obvious is what you showed to me.....
Back to top
View user's profile Send private message Visit poster's website
Alex Glass
Kebab Pizza
Kebab Pizza


Joined: 15 Aug 2007
Posts: 5664


Location: Silverburn

PostPosted: Wed Jul 31, 2013 9:34 pm    Post subject: Reply with quote Report this post to Mods

I can't find the old code for posting videos from YouTube. May be that I am thick but it doesn't appear to be available to me would that be right?
_________________
I had a dream today

ALEX G @ flickr
Back to top
View user's profile Send private message
cybers
Gobshite Mod
Gobshite Mod


Joined: 18 Aug 2007
Posts: 11940


Location: Central Cyberia

PostPosted: Thu Aug 01, 2013 3:17 am    Post subject: Reply with quote Report this post to Mods

A lot of the newer Videos are missing the old code so you need to basically write your own.
At the top of the page Alex In the address bar is the video address it looks like this...

Code:
http://www.youtube.com/watch?v=ul35z_ePKjM


You need the end part the last 11 characters ul35z_ePKjM

Then just replace the xxxxxxx's in this with the 11 chars



Code:
<embed src="//www.youtube.com/v/XXXXXXXXXX?hl=en_US&version=3" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed>

_________________
Point it - Shoot it - Forget it !
Back to top
View user's profile Send private message MSN Messenger
Alex Glass
Kebab Pizza
Kebab Pizza


Joined: 15 Aug 2007
Posts: 5664


Location: Silverburn

PostPosted: Fri Aug 02, 2013 12:24 pm    Post subject: Reply with quote Report this post to Mods

Brilliant  

Thank you very much Cybers

I will be able to post a video I did now.

   
_________________
I had a dream today

ALEX G @ flickr
Back to top
View user's profile Send private message
Doorstop
Ice cream fritter
Ice cream fritter


Joined: 06 Oct 2007
Posts: 2772


Location: Security on the door to the arse-end of Nihilsville

PostPosted: Fri Aug 02, 2013 12:43 pm    Post subject: Reply with quote Report this post to Mods


_________________
I like him .. he says "Okie Dokie"
Back to top
View user's profile Send private message
horza
Roll and chips
Roll and chips


Joined: 18 Mar 2011
Posts: 86



PostPosted: Fri Aug 02, 2013 1:54 pm    Post subject: Reply with quote Report this post to Mods

Thanks cybers. Was able to sort out my Inverkip demo video from last week :)
_________________
Abandoned Scotland on Facebook and YouTube
Back to top
View user's profile Send private message Visit poster's website
cybers
Gobshite Mod
Gobshite Mod


Joined: 18 Aug 2007
Posts: 11940


Location: Central Cyberia

PostPosted: Fri Aug 02, 2013 2:24 pm    Post subject: Reply with quote Report this post to Mods

Happy to help guys ... I had to figure this out too for embedding a wee video in another site i use.
_________________
Point it - Shoot it - Forget it !
Back to top
View user's profile Send private message MSN Messenger
AlanM
Deep fried Mars bar
Deep fried Mars bar


Joined: 31 Jul 2007
Posts: 1226


Location: Glasgow

PostPosted: Fri Aug 02, 2013 4:58 pm    Post subject: Reply with quote Report this post to Mods

James, would it be possible for you to create a [youtube] tag that we would just wrap the url in and it would create the embed code. There's probably some already written on the phpBB forum.
_________________

UK Photo Club
Back to top
View user's profile Send private message Visit poster's website
James
Moderator
Moderator


Joined: 30 Jul 2007
Posts: 6665


Location: Utopia Planitia

PostPosted: Sun Aug 04, 2013 8:22 pm    Post subject: Reply with quote Report this post to Mods

I've added a 'Video' tag to use to embed YouTube videos.

Code:
How to use:

[video]http://www.youtube.com/watch?v=vpPfnawGxL8[/video]



Link


Doesnt seem to work for Vimeo videos.



James H


_________________
The blinding obvious is what you showed to me.....
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    urbanglasgow.co.uk Forum Index -> Forum Issues All times are GMT + 1 Hour
Page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group and a bunch of camp hockey players...
Copyright © 2017 urbanglasgow.co.uk
Create your own free forum | Buy a domain to use with your forum
The early bird catches the worm (proverb) | The second mouse gets the cheese (fact)