There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Question about WMV / FLASH Movies


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
howard.a.s's Avatar
Senior Member with 156 posts.
 
Join Date: Jul 2005
Location: U.K
Experience: Intermediate
25-Mar-2008, 12:57 PM #1
Question about WMV / FLASH Movies
Two questions in one really.

First, I have a .wmv file that I'd like to play on a web page that I'm creating. As I'm not very tekkie, I'd have to say that the actual screen dimensions of the said movie are approx 6 inches by 6 inches when played on my PC using media player, although I expect the dimensions depend upon the monitor settings.

If I get as far as actually displaying the movie on my page, it would need to be much smaller - probably about 3 inches square.

Now I have seen websites that seem to have embedded a miniature player on their page, complete with play, pause buttons, but I haven't got a clue how to do this, or how to re-size my movie to fit the player (or does the movie automatically scale down to fit the size of player chosen?). Can anyone here tell me where I should look for information on how to achieve this?

Second, I have a flash intro that came as part of a template I purchased a while back. I have the editable file for the intro, which I can open using Flash. Mind you, that's about as far as my knowledge takes me!

I would like to make the entire flash intro smaller in overall dimension, so I could use it elsewhere on the same site. I would also like to have the intro loop over and over continuosly, instead of reaching the end and just stopping. Can you tell me if either/both of these operations can be carried out easily?

I don't mind if the intro could even be placed into a player and resized accordingly, as in my first question. Is this possible?

I had a dabble with Flash editor, making certain that I was working on a copy of the original file, so as to not destroy the original if it all went horribly wrong.

I managed to change some wording, remove/replace parts of the intro, but when I tried to change dimensions, the whole thing threw a wobbly!!!

Is there any easy way, or am I just crazy?!
tomdkat's Avatar
Computer Specs
Distinguished Member with 3,492 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
25-Mar-2008, 01:22 PM #2
Try using the OBJECT tag for embedding the WMV file.

Peace...
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
25-Mar-2008, 01:27 PM #3
For question 1, embedding media into your site you can copy the code below into your web page and replace yourvideo.wmv with your own file name.
Code:
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="yourvideo.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="yourvideo.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
You can change the size by changing the WIDTH="192" HEIGHT="190" in both of the areas in that code to the appropriate size you want.

For the flash movie, just place the same movie into the page (copy the html in your entry page) and resize it (same way, changing the size attributes in the code) then add loop to the settings;
Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="431" height="420">
      <param name="movie" value="path/to/file.swf" />
      <param name="quality" value="high" /><param name="LOOP" value="true" />
      <embed src="path/to/file.swf" width="431" height="420" loop="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object><
Need more help, post back
__________________
Good Luck on your fix

My real hobby..JoyCo
My real Job..(Second Hobby) IAFF Local 1865
Like the sites? My hobby is the one that created them!
tomdkat's Avatar
Computer Specs
Distinguished Member with 3,492 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
25-Mar-2008, 01:30 PM #4
Hey Sequal7, is "TYPE="application/x-oleobject" an appropriate MIME type for the video? That looks a bit Windows-centric and I do believe people can view embedded WMV files on non-Windows platforms.

EDIT: Looks like video/x-ms-wmv is a more platform neutral MIME type.

http://www.alistapart.com/articles/byebyeembed
http://support.mozilla.com/tiki-view..._parentId=3398
http://support.microsoft.com/kb/288102

Peace...

Last edited by tomdkat : 25-Mar-2008 01:42 PM.
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
25-Mar-2008, 01:48 PM #5
I just prefer it since most prominent OS is Windoze unfortunately.
Mozi also uses the activeX plugin and will play it fine with that type. (alot of browsers use the mozi plugin.)

You can use for player;
application/x-drm
application/x-drm-v2
application/asx (metafile)
application/x-mplayer2
application/x-ms-wmp (force V11)
video/x-ms-wmv (audio or video)
video/x-ms-wmx (media reserved)
video/x-ms-wm (media reserved alt)

For audio;
audio/x-ms-wax
audio/x-ms-wma

Legacy;
video/x-ms-asf
video/x-ms-asf-plugin
__________________
Good Luck on your fix

My real hobby..JoyCo
My real Job..(Second Hobby) IAFF Local 1865
Like the sites? My hobby is the one that created them!
howard.a.s's Avatar
Senior Member with 156 posts.
 
Join Date: Jul 2005
Location: U.K
Experience: Intermediate
25-Mar-2008, 01:49 PM #6
Great Stuff
Once again, the members of Tech Support Guy save the day!

Seriously though, I am amazed at the sheer level of knowledge that some of you guys have.

Tell you what, trying to work with CSS and HTML for a few hours is enough to give me a headache, so goodness only knows how you have all managed to learn so much.

Still, I'm not complaining, as you've managed to help me understand and expand my knowledge, and that's what the forum is all about.

Many, many thanks to all concerned.
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
25-Mar-2008, 01:52 PM #7
Quote:
Originally Posted by tomdkat View Post
EDIT: Looks like video/x-ms-wmv is a more platform neutral MIME type.
Very standard code for mixed content, we are better than that and should be application specific.

Glad you got it figured out though howard.a.s. ..... seriously!

Cheers

Last edited by Sequal7 : 25-Mar-2008 08:06 PM.
tomdkat's Avatar
Computer Specs
Distinguished Member with 3,492 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
25-Mar-2008, 05:16 PM #8
Quote:
Originally Posted by howard.a.s View Post
Tell you what, trying to work with CSS and HTML for a few hours is enough to give me a headache, so goodness only knows how you have all managed to learn so much.
I take strong meds to deal with my headaches.

Quote:
Originally Posted by Sequal7
Very standard for mixed content, we are better than than and should be application specific.
I see. I think I'll continue to be "worse" than your standard then.

Peace...
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
26-Mar-2008, 12:47 PM #9
Nah, your better than that, I see your pith and vigor........
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 02:24 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.