html - Tomcat: playing audio -
I have removed a web application from one of the options of this app to run audio files that were previously on the server Uploaded I am trying to use the following code:
object object id = "mediaplayer" type = "app / x-olebaxy" height = "42" standby = "windows Media installer player ... "width =" 138 "align =" Anup Midi Interpretation "class =" Sielsaidi: 22 D 6 F 312-B 0 F 6-11 D 0-9 4-B 080 C 74 C 7 E 9 5 "& gt; & Lt; Param name = "filename" value = path> & Lt; / Param & gt; & Lt; Param name = "autostart" value = "true" & gt; & Lt; / Param & gt; & Lt; Param name = "volume" value = "3" & gt; & Lt; / Param & gt; & Lt; Param name = "EnableContextMenu" value = "1" & gt; & Lt; / Param & gt; & Lt; Param name = "transparent atstart" value = "wrong" & gt; & Lt; / Param & gt; & Lt; Ultimate name = "animation" start "value =" false "> & gt; & gt; & lt; Lt; / object & gt;
Where 'Path' is the path to the audio file that should be played. I can run the audio file when I run my application in the server PC. , When i run my application on the client pc Everything works well, but when I try to run an audio file, I have a problem: the web page is filled correctly, I can see the player, but this is not an audio file
Do you have any idea about how to solve this problem? Thanks in advance.
The path should be the relative path and it should be on a folder that is provided by the web server For example if you are serving web pages that embed videos from the root and your media file is in a subfolder called "Video", then you can code it as follows:
< Pre> & lt; PARAM NAME = "filename" VALUE = "Video / VideoFilenameWemvvy" & gt;
You can test that it is trying to directly load the video without embedding directly on its web server, such as
http: //www.yoursite.com/videos/videofilename.wmv
Comments
Post a Comment