Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,255
Total Threads: 81,172
Total Posts: 566,871
There are 73 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Flash and Actionscript :

Need Some Help Embeding WMV Files

Thread title: Need Some Help Embeding WMV Files
Closed Thread    
    Thread tools Search this thread Display Modes  
02-26-2007, 12:11 AM
#1
shadav is offline shadav
shadav's Avatar
Status: Junior Member
Join date: Oct 2006
Location:
Expertise:
Software:
 
Posts: 73
iTrader: 0 / 0%
 

shadav is on a distinguished road

Send a message via AIM to shadav Send a message via Yahoo to shadav

  Old  Need Some Help Embeding WMV Files

Ok...i've no idea what i'm doing wrong...i've tried several different codes after googling how to embed wmv and everytime the player doesn't play....

i took an exsisting file someone had made for me for swf files and have been trying to tweek it to handle wmv

anyways here's the basic of the code
Code:
<?php
$fname=$_GET['file'];
$title=$_GET['title'];
php?>
<body><OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="550"HEIGHT="575" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="<? echo $fname; ?>" VALUE="<? echo $fname; ?>.wmv" ><PARAM name="AUTOPLAY" VALUE="true"><PARAM name="CONTROLLER" VALUE="true">
<EMBED SRC="/Foamy/<? echo $fname; ?>.wmv" WIDTH="550" HEIGHT="400" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/"></EMBED></OBJECT></body>
any idea how to fix this?

This is what it's doing
nothing....

02-26-2007, 12:15 AM
#2
jono1 is offline jono1
jono1's Avatar
Status: Non-conformist
Join date: Jul 2005
Location: Canberra, Australia.
Expertise:
Software:
 
Posts: 1,172
iTrader: 0 / 0%
 

jono1 is on a distinguished road

  Old

Simply put, AFAIK Flash can't handle wmv files. Have a look on Google for programs to convert wmv to flv files. There should be a couple of free ones around.

02-26-2007, 12:37 AM
#3
shadav is offline shadav
shadav's Avatar
Status: Junior Member
Join date: Oct 2006
Location:
Expertise:
Software:
 
Posts: 73
iTrader: 0 / 0%
 

shadav is on a distinguished road

Send a message via AIM to shadav Send a message via Yahoo to shadav

  Old

i tried to search to convert it to swf but didn't find any that were free lol

i'm not sure what AFAIK is the code above someone said would play wmv files
i also tried
Code:
<?php
$fname=$_GET['file'];
$title=$_GET['title'];
php?>
<body><object id="MediaPlayer" width=550 height=575 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="<? echo $fname; ?>" value="/Foamy/<? echo $fname; ?>.wmv">
<param name="Showcontrols" value="True"><param name="autoStart" value="True">
<embed type="application/x-mplayer2" src="/Foamy/<? echo $fname; ?>.wmv" name="MediaPlayer" width=550 height=400></embed></object></body>
with the same results...

MediaPlayer code

05-01-2007, 09:04 PM
#4
Dark_Prince11 is offline Dark_Prince11
Status: Member
Join date: Apr 2007
Location: Deer Park, NY
Expertise:
Software:
 
Posts: 123
iTrader: 0 / 0%
 

Dark_Prince11 is on a distinguished road

Send a message via AIM to Dark_Prince11 Send a message via MSN to Dark_Prince11

  Old

You're supposed to convert it into .FLV...

05-10-2007, 09:27 PM
#5
Wildhoney is offline Wildhoney
Wildhoney's Avatar
Status: Request a custom title
Join date: Feb 2006
Location: Nottingham
Expertise:
Software:
 
Posts: 1,648
iTrader: 18 / 95%
 

Wildhoney is on a distinguished road

Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney

  Old

WMV will not work in Flash. It needs to be FLV as mentioned by the guy above me. Use FFMPEG or MPlayer2 to convert WMV to FLV. You will need WMV dependencies installed. You may be able to download a WMV Vhook for FFMPEG, but other than that, it will need to be compiled with the WMV argument.

05-13-2007, 07:05 AM
#6
mmorales is offline mmorales
Status: Senior Member
Join date: Jul 2004
Location: Vegas
Expertise:
Software:
 
Posts: 929
iTrader: 1 / 100%
 

mmorales is on a distinguished road

Send a message via AIM to mmorales

  Old

Import Video option in flash will place a video into a flash file and have the playback options.

Closed Thread    


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed