Difference between revisions of "Embed WMV"
From TMM Wiki
Jump to navigationJump to search (New page: {{CARMA1 Manual}} A recent update to Windows and/or Windwos Media Player is causing WMV files not to play correctly in IE and FireFox for some people. You can fix this by looking for thi...) |
|
(No difference)
|
Revision as of 13:38, 17 February 2009
A recent update to Windows and/or Windwos Media Player is causing WMV files not to play correctly in IE and FireFox for some people. You can fix this by looking for this code in your view_clip template:
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&" src="http://{$smarty.server.HTTP_HOST}{rebuild_link without="style"}" name="MediaPlayer" ShowControls="1" ShowStatusBar="1" width="320" height="285"> </embed>
and replacing it with this new code:
<OBJECT ID="MediaPlayer" width="640" height="480" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject"> <PARAM NAME="FileName" VALUE="http://{$smarty.server.HTTP_HOST}{rebuild_link without="style"}"> <PARAM name="ShowControls" VALUE="true"> <param name="ShowStatusBar" value="true"> <PARAM name="ShowDisplay" VALUE="false"> <PARAM name="autostart" VALUE="false"> <EMBED TYPE="application/x-mplayer2" SRC="http://{$smarty.server.HTTP_HOST}{rebuild_link without="style"}" NAME="MediaPlayer" width="640" height="480" ShowControls="1" ShowStatusBar="1" ShowDisplay="0" autostart="0"> </EMBED> </OBJECT>
You should change this on all your edited view_clip templates.
This new code will be included in all new version of CARMA starting with version 1.3.4.2