Solved

Embedding videos hosted on my server into Google Sites

Posted on 2011-03-21
2
294 Views
Last Modified: 2012-05-11
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!

0
Comment
Question by:Michaelj42
2 Comments
 
LVL 6

Accepted Solution

by:
GregArnott earned 500 total points
Comment Utility
What I need is a format that works...

Ignore Flash if you want to display movies on an iThing.

Outside of that, make life easy for yourself with Code Wrapper for Google Sites.

This page shows a series of examples in order to get many different types of embedded code running.
0
 
LVL 5

Author Comment

by:Michaelj42
Comment Utility
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>
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses four methods for overlaying images in a container on a web page
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now