Previous Thread
Next Thread
Print Thread
Hop To
#209608 03/31/2008 11:30 PM
Joined: May 2006
Posts: 169
Member
Member
Joined: May 2006
Posts: 169
I can't figure out how to post Youtube videos. On Youtube they give code to post, but I can't get it to work.

For example here is a code from a video that I want to post, how do I do it?

<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/fZCA69lk-Mc&rel=0&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/fZCA69lk-Mc&rel=0&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
just post the url using the utube button/tags:


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: May 2006
Posts: 169
Member
Member
Joined: May 2006
Posts: 169
I don't have that option on 7.1.1 but I found a way to do it.

This is obviously something a lot of people want to know as this topic had a lot of hits quick.

For those that don't have the option listed by Gizmo, you have to start a topic or hit reply to one that was created and not use the quick post option.

Take the embed info off You Tube and change the mark up area to Using HTML instead of Using UBB.

So here's my next question to the experts is there a way to make the video's clearer? Someone told me to delete the transparent part at the end of the post, but I don't see a real difference.

Any ideas.....

You can see what I did here:

http://www.freaksforum.com/forum/ubbthreads.php/ubb/showflat/Number/132051/page/1#Post132051

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Video Posting was added in 7.3 (I think ~B3?); there is a mod for it over at UBBDev for prior versions.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
Will vids already posted using the mod still work when we upgrade to 7.3 do you think?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by willing
Will vids already posted using the mod still work when we upgrade to 7.3 do you think?
well, so long as you don't edit them, the parsed versions will remain.

I posted compatibility code at ubbdev to make the CURRENT mod's tags work.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
a regex to handle both URL form and ID form that i use is (allows the user to not care, if they paste the url OR just the ID):

Code
(|.*v=)([a-zA-Z0-9]{8,12})(|&.*)

markup:

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

note: forces www.youtube.com in the markup smile

feel free to embellish and/or ignore wink

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
What about other foreign sites for youtube?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
no clue, but sometimes on sites there is a subdomain -- ie: it.youtube.com, us.youtube.com

i have no idea if that's the case for youtube, but i see it all the time for other large sites (ie: imdb)

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

YouTube has like 16 subdomains for different locales. I believe Rick fixed that issue, but I also like SD's option. Alas, though, I still find it easier to have users copy/paste full URLs rather than *try* and extract the video ID (as easy as it may seem to us wink )


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
i'll modify the regex / markup to handle the 16 sub-domains then -- that way 1 size fits all..

i didn't think there were 16 !!! eek

SD #209740 04/03/2008 12:55 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
< Mark watches this space >


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Originally Posted by Sirdude
i didn't think there were 16 !!! eek

Sorry, my bad... there are actually 19 laugh wink

From the main site, click on the "Site" link in the top-right and they'll be listed...


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
they are also say youtube.co.uk and not uk.youtube.com

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
well, the next obvious question is --- the youtube ID still unique?

if so, the domain/sub-domain wouldn't matter anyway..

no ?

example:

http://ca.youtube.com/watch?v=6hoiRLzqhug

http://www.youtube.com/watch?v=6hoiRLzqhug

same vid -- so i see no harm in just eating the URL up and using markup to the most logical sub-domain for the board..

only real issue might come in where the board is all over the map and diff sub-domains might be diff for diff users laugh

if you get my drift..

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
The utube domain is the same for each video; so say my video on youtube.com was asdfjkl it'd be that on uk.youtube.com as well


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

If the VID was different for each subdomain I wouldn't have even mentioned it! laugh wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 459 guests, and 146 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)