[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 331
  • Last Modified:

displaying movies online - fast action

I have short trailer movies that I'd like to enable the user to view online. I previously used the following code:

<!-- URL's used in the movie-->
<A HREF=ex1.WMV></A>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 WIDTH="600" HEIGHT="500" id="people" ALIGN="">
 <PARAM NAME=movie VALUE="people.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="people.swf" quality=high bgcolor=#000000  WIDTH="600" HEIGHT="500" NAME="people" ALIGN=""
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

This code was not sufficiently quick.
Has anyone dealt with this topic and compared different methods for displaying?
Thanxs

0
bhnv9
Asked:
bhnv9
  • 2
  • 2
  • 2
1 Solution
 
CRagsdellCommented:
What size is the swf file?

Have you played around with the compression settings in the Publish Settings?

CR
0
 
bhnv9Author Commented:
I'm new at this topic.
What do you mean by swf files? What are the publish settings?
I have 10 films of wmv extentsion. Each film is between 400kb and 1700kb.
0
 
CRagsdellCommented:
Your code references a Shockwave file people.swf. What is its size?

You can reduce the size of the movie files by using different compression methods and rates.

CR
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
Blue52Commented:
In addition to the above comments you could force Flash to pre-load a certain amount of your movie before attempting to play it.  The problem is not the code you are using to embed the movie but i suspect the initial byte count of your .swf file.

I would recommend that you inspect the byte count of your first 20-50 frames in the test movie feature found under the control menu in Flash using the Bandwidth Profiler found under the view menu.

I would then reduce the the size of the first 20-50 frames to enable quick loading and streaming of the file.

If you do not understand the above then your knowledge of Flash is perhaps lacking too much to enable a reasonable answer to your question.

B
0
 
bhnv9Author Commented:
Sorry if I didn't make the question clear...
The movie is not a flash movie but a regular windows media player movie.
My knowledge in the topic is lacking but maybe some expert out there has the patience to explain.
0
 
Blue52Commented:
The line of code in your message:

EMBED src="people.swf" quality=high bgcolor=#000000  WIDTH="600" HEIGHT="500" NAME="people" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>

Suggests to me that you are using a flash movie named people.swf!

B
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now