Solved

Embedding videos hosted on my server into Google Sites

Posted on 2011-03-21
2
325 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
ID: 35186589
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
ID: 35198335
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

837 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