Hot Spot, The hottest placest on Blueglue.us right now!
Download Tab
No Recommendation

P1 By Jonas Cederlund: July 29, 2012 13:36 Back Next

How to embedd a video on your website.

Video is by all means one of the most important aspect for delivering material and content. My website currently use Flash which is recommended to support, sinse HTML 5 is still young and many website's across the web is still waiting to upgrade. But first come first...

When embedding Flash content, especially video, the code can varie depending on if you use a dedicated flash player or another simpler solution.

Remember even though Flash is a great way to distribute video and other media, not all formats supports it, Adobe themself have more or less given up on the Mobile space.

Here is an example of how a Flash embedded code could look like!

Script <script type="text/javascript" src="Source/Filename/swfobject.js"></script>
<div id="flashcontent">Player will show here</div>
<script type="text/javascript">
var so = new SWFObject('Source/Filename/mwplayer.swf',
'Source/Filename','636','450','9');
so.addParam('wmode','opaque');
so.addParam('quality','high');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.write("flashcontent");
</script>


I'm using a Flash player called Moyea web player and this is the copy and paste code you get from the site page, it has a few and far between tweaks.

Here is a embedded code directly from Youtube which Google themself makes available for ease of use.


iframe<iframe width="636" height="430"
src="http://www.youtube.com/embed/
cHIP9UtkQDQ?feature=player_detailpage"
frameborder="0" allowfullscreen></iframe>

the only downside with using a thirdparty streaming player is of course all the strict and tight regelation they have.


Hosted at Copyright© 2005-2017 www.blueglue.us
Lunarpages.com Web Hosting This site is best viewed in 1280x720 or higher
 
   

No downloads