Link to home
Start Free TrialLog in
Avatar of Michaelj42
Michaelj42Flag for United States of America

asked on

Embedding videos hosted on my server into Google Sites

Gurus,

A user has a number of videos they would like to insert into their Google sites page. Google Sites has a 10gig limit which I guess has become a problem.

What I have done is insert a code wrapper onto the page and then use the code found here:

http://www.walkernews.net/2008/01/11/how-to-embed-flv-flash-in-wordpress-or-html/

or the instructions that come with the JW Player found here:

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5

I can't seem to get it working.

What I need is a format that works, if possible, with Macs, PCs and (is it asking to much?) with iPads.

I have tried setting the file to http://mywebsite.com/user/video.flv or mp4 or wmv or whatever. I can open WMAs directly from that folder in a browser so it doesn't seem to be permissions.

Any help is appreciated!

ASKER CERTIFIED SOLUTION
Avatar of GregArnott
GregArnott
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Michaelj42

ASKER

GregArnott, thanks for pointing me in the correct direction. Here is the final result that seems to work well. I don't think it works with the iThings but oh well.

1. Downloaded JW Player from www.longtailvideo.com and put it in a folder called jwplayer in my webroot.
2. Exported my video as an flv with a preview jpg using FreeStudio's Free Video to Flash Converter from www.dvdvideosoft.com.
3. On the Google Sites page went to insert>More Gadgets and inserted the Code Wrapper.
4. Used this code:

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='640' height='480' id='single1' name='single1'>

<param name='movie' value='http://www.myserver.com/jwplayer/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='duration=207&file=http://www.myserver.com/subfolder/video.flv&image=http://www.myserver.com/subfolder/video.jpg'>

<embed type='application/x-shockwave-flash' id='single2' name='single2' src='http://www.myserver.com/jwplayer/player.swf' width='640' height='480' bgcolor='undefined' allowscriptaccess='always' allowfullscreen='true' wmode='transparent' flashvars='duration=207&file=http://www.myserver.com/subfolder/video.flv&image=http://www.myserver.com/subfolder/video.jpg' />

</object>