[SOLVED] Playing video in a webpage problem

This is a discussion on "[SOLVED] Playing video in a webpage problem" within the Web Page Design section. This forum, and the thread "[SOLVED] Playing video in a webpage problem are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 2nd, 2007, 11:01
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 227
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Playing video in a webpage problem

Hello i recently decided to play a video in my webpage, I converted a video file to a FLV file, and uploaded the FLV file & flow player to the same directory of my webpage.

The FLV file is called: singer1.flv

The flow player is called: FlowPlayer.SWF

Below is the code i used to try and play the video file in my webpage:

HTML: Select all
<object type="application/x-shockwave-flash" data="FlowPlayer.swf"
    width="189" height="206" id="FlowPlayer">
  <param name="allowScriptAccess" value="sameDomain"/>
  <param name="movie" value="FlowPlayer.swf"/>
  <param name="quality" value="high"/>
  <param name="scale" value="noScale"/>
  <param name="wmode" value="transparent"/>
  <param name="flashvars"
    value="videoFile=singer1.flv"/>
</object>
Once i have inserted the above code into my page, were i want the video to sit,
it appears that a video icon has appeared in dreamweaver design view, indicating that i have done somthink right, but when i try to play the file once the webpage is launched, the file dissapears, i click the area were the video is supposed to be, and all i get is a message saying "click to activate this control"

Can anyone help with this problem??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 2nd, 2007, 12:23
Reputable Member
Join Date: Oct 2007
Location: Liverpool UK
Age: 29
Posts: 227
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Playing video in a webpage problem

I have solved my problem myself! For anyone wanting to insert video into a wepage use the following listed below:

Download flow player, and put the FlowPlayer.swf in your site directory were you want the video to display.

convert your avi file using "annconvertor" to a DV avi file You will know you have done this right because the newly converted file will be large.

Convert the DV avi file to a: FLV file using "riva FLV encoder" you will notice how small your FLV file is in size now.

Name your new FLV file for instance i called mine "singer1.flv", and put it in the site directory were your put the FlowPlayer.swf

Use the code below to link the video file you created to the flow player so it plays in your webpage:
HTML: Select all
<object type="application/x-shockwave-flash" data="FlowPlayer.swf" 
 width="189" height="206" id="FlowPlayer">
 <param name="allowScriptAccess" value="sameDomain" />
 <param name="movie" value="FlowPlayer.swf" />
 <param name="quality" value="high" />
 <param name="scale" value="noScale" />
 <param name="wmode" value="transparent" />
 <param name="flashvars" value="config={videoFile: 'singer1.flv'}" />
</object

Quick listing of the steps again:

convert the files,
name the file you converted to your desired choice,
upload the FlowPlayer.SWF/your Video.flv/ and the code above to the same directory.

Dont forget to change the name of the flv file to match your in the code, and choose your desired height and width.

All software needed can be found in the links below.

The whol process takes 7 mins to complete.

Happy editing,

http://www.rivavx.com/?encoder
http://flowplayer.org/
http://www.annvideo.com/news.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript & Flash video problem in IE let2008 JavaScript Forum 1 May 2nd, 2008 09:58
Flash display problem in mozilla firefox webpage made in asp.net darock Web Page Design 3 Jan 28th, 2008 01:52
[SOLVED] Webpage not displaying properly in Firefox Johnathan Web Page Design 25 Jan 5th, 2008 01:34
[SOLVED] playing with Perl Compatible Regex in field validation eon201 JavaScript Forum 33 Oct 26th, 2007 15:07
Playing loading MP4 files/Video Towbar Flash & Multimedia Forum 14 Sep 8th, 2007 23:38


All times are GMT. The time now is 11:17.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42