SydLexia.com Forum Index
"Stay awhile. Stay... FOREVER!"

  [Edit Profile]  [Search]  [Memberlist]  [Usergroups]  [FAQ]  [Register]
[Who's Online]  [Log in to check your private messages]  [Log in]
YouTube source code


Reply to topic
Author Message
Syd Lexia
Site Admin
Title: Pop Culture Junkie
Joined: Jul 30 2005
Location: Wakefield, MA
PostPosted: Apr 13 2007 10:07 am Reply with quote Back to top

Does anyone know if there's an open source version of the YouTube code out there?

If not, is there any easy way to embed videos into a page in the style of YouTube without actually hosting them on YouTube or another third party site?
View user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
DarkMaze
Joined: Feb 24 2006
PostPosted: Apr 13 2007 10:17 am Reply with quote Back to top

Well, basically you'd need to be able to convert the video into Flash Video format (FLV) and create/get a Flash-based "player" (something like this). Then host that on your site.
View user's profileSend private message
Tishwitch
Title: PornStarExtraordinaire
Joined: Jul 01 2006
Location: Winter Wonderland
PostPosted: Apr 13 2007 04:16 pm Reply with quote Back to top

Can we expect SydLexia style prong to come? Wink


Image
 
View user's profileSend private message
Knyte
2010 SLF Tag Champ*
Title: Curator Of The VGM
Joined: Nov 01 2006
Location: Here I am.
PostPosted: Apr 14 2007 12:04 am Reply with quote Back to top

Look into Shockwave. As I know you can convert movies into Shockwave, host them, and play them on your web pages that way.
View user's profileSend private messageVisit poster's website
FNJ
2010 SLF Tag Champ
Joined: Jun 07 2006
PostPosted: Apr 14 2007 06:23 am Reply with quote Back to top

I have that player built into THI, I just don't have a simple way to convert video to flash for people who are the uploading.


Image
 
View user's profileSend private message
Syd Lexia
Site Admin
Title: Pop Culture Junkie
Joined: Jul 30 2005
Location: Wakefield, MA
PostPosted: Apr 14 2007 08:37 am Reply with quote Back to top

The easiest way to convert it to flash is probably to upload it to YouTube then use a site like KeepVid to retrieve it. How did you build the player into THI?
View user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
Mr. Bomberman
2009 Forum Champion
Title: (still) token black.
Joined: Jan 27 2006
Location: Home of the lost towers
PostPosted: Apr 14 2007 12:39 pm Reply with quote Back to top

Syd wrote:
The easiest way to convert it to flash is probably to upload it to YouTube then use a site like KeepVid to retrieve it. How did you build the player into THI?


I just now found out about KeepVid, 'cause of you. Now I can completely put my IQ (article?) on THI. hehe.


Image
Xbox Live: HazNobody, pronounced "HAz". | Haven't went to IRC yet? Go! #sydlexia @ DALnet. | Y'all should play some Super Robot Wars J (hey that rhymes!) | yeah I'm back who gives a shit
 
View user's profileSend private messageVisit poster's websiteAIM Address
DarkMaze
Joined: Feb 24 2006
PostPosted: Apr 14 2007 04:10 pm Reply with quote Back to top

I can probably convert the vid to FLV if you'd like.
View user's profileSend private message
Tebor
Moderator
Title: Master of the Universe
Joined: Aug 22 2005
Location: Gotham City
PostPosted: Apr 14 2007 05:18 pm Reply with quote Back to top

But how does one get a player to play it?

Like Odeo is a flash player that can play mp3s you host. That way "the man" can't shut down the music I want other people to listen to (without sending them directly to the source file).


"If you will not tell me, I will hurt people!!!" -Nuclear Man

"Do you hear? The alpha and the omega. Death and rebirth. And as you die, so will I be reborn!" - Skeletor

8341 unread forum updates since I left (2/7/14)... Uh-oh.
 
View user's profileSend private messageVisit poster's websiteAIM Address
Syd Lexia
Site Admin
Title: Pop Culture Junkie
Joined: Jul 30 2005
Location: Wakefield, MA
PostPosted: Apr 14 2007 09:33 pm Reply with quote Back to top

There's a free player called FLVplayer that'll play flash videos.
View user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
Tebor
Moderator
Title: Master of the Universe
Joined: Aug 22 2005
Location: Gotham City
PostPosted: Apr 15 2007 12:14 am Reply with quote Back to top

Syd Lexia wrote:
There's a free player called FLVplayer that'll play flash videos.

Offline. I need something that streams online.

Like with Odeo I paste:

Code:

<object type="application/x-shockwave-flash" data="http://www.odeo.com/flash/audio_player_standard_gray.swf" height="52" width="300">
  <param name="movie" value="http://www.odeo.com/flash/audio_player_standard_gray.swf" />
  <param name="allowScriptAccess" value="never" />
  <param name="allowNetworking" value="internal" />
  <param name="quality" value="high" />
  <param name="wmode" value="transparent" />
  <param name="flashvars" value="valid_sample_rate=true&external_url= MP3 FILE ADDRESS HERE" />
</object>


And bang. It's on a page and anyone who wants it can play it.


"If you will not tell me, I will hurt people!!!" -Nuclear Man

"Do you hear? The alpha and the omega. Death and rebirth. And as you die, so will I be reborn!" - Skeletor

8341 unread forum updates since I left (2/7/14)... Uh-oh.
 
View user's profileSend private messageVisit poster's websiteAIM Address
Syd Lexia
Site Admin
Title: Pop Culture Junkie
Joined: Jul 30 2005
Location: Wakefield, MA
PostPosted: Apr 15 2007 12:22 am Reply with quote Back to top

So if I use Macromedia Flash to convert the videos to SWF, I could use the code you just gave me to embed videos in pages?
View user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
Tebor
Moderator
Title: Master of the Universe
Joined: Aug 22 2005
Location: Gotham City
PostPosted: Apr 15 2007 12:25 am Reply with quote Back to top

Syd Lexia wrote:
So if I use Macromedia Flash to convert the videos to SWF, I could use the code you just gave me to embed videos in pages?

Are talking to me, cause that code is only for audio. I'm looking for a video equivalent... Much like you seem to be too... Sad


"If you will not tell me, I will hurt people!!!" -Nuclear Man

"Do you hear? The alpha and the omega. Death and rebirth. And as you die, so will I be reborn!" - Skeletor

8341 unread forum updates since I left (2/7/14)... Uh-oh.
 
View user's profileSend private messageVisit poster's websiteAIM Address
Tebor
Moderator
Title: Master of the Universe
Joined: Aug 22 2005
Location: Gotham City
PostPosted: Apr 15 2007 12:33 am Reply with quote Back to top

Wait, this might work... Once you load this FlowPlayer into the site...

Code:

<object type="application/x-shockwave-flash" data="FlowPlayer.swf"
   width="320" height="262" id="FlowPlayer">
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="movie" value="FlowPlayer.swf" />
   <param name="quality" value="high" />
   <param name="scale" value="noScale" />
   <param name="wmode" value="transparent" />
   <param name="flashvars" value="config={videoFile: '???.flv'}" />
</object>


From http://flowplayer.sourceforge.net/howto.html

EDIT: I'm trying this now... Wait for results.


"If you will not tell me, I will hurt people!!!" -Nuclear Man

"Do you hear? The alpha and the omega. Death and rebirth. And as you die, so will I be reborn!" - Skeletor

8341 unread forum updates since I left (2/7/14)... Uh-oh.
 
View user's profileSend private messageVisit poster's websiteAIM Address
Tebor
Moderator
Title: Master of the Universe
Joined: Aug 22 2005
Location: Gotham City
PostPosted: Apr 15 2007 03:16 pm Reply with quote Back to top

I spent way more time than I wanted to last night trying to get FlowPlayer to work.

I can get it to work, but only when the actual movie file is in the same folder as the code. This is a problem for trying to link to it in a forum or website. FlowPlayer seems to link just fine though. All I need to do is crack the mystery of the FLV file...


"If you will not tell me, I will hurt people!!!" -Nuclear Man

"Do you hear? The alpha and the omega. Death and rebirth. And as you die, so will I be reborn!" - Skeletor

8341 unread forum updates since I left (2/7/14)... Uh-oh.
 
View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Reply to topic

 
 Jump to: