?
Solved

Embedding videos hosted on my server into Google Sites

Posted on 2011-03-21
2
Medium Priority
?
342 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
GregArnott earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…
Suggested Courses

801 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