Solved

Embedding videos hosted on my server into Google Sites

Posted on 2011-03-21
2
305 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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.

914 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

15 Experts available now in Live!

Get 1:1 Help Now