This topic is locked

What is the code to play audio, Video, Flv, after upload to the databa

5/24/2010 7:53:15 AM
PHPRunner General questions
S
siro author

I'm creating a database that will show results for various media files, i.e. mp3, flv and PowerPoint. In that cases we want the user to click on the link, the audio file will play automaticly

A
ann 5/24/2010

Hi,
use custom format on the "View as" settings dialog on the Visual Editor tab. Here you can add a code for playing media files.

Unfortunately we don't have a ready to go solution for this.

S
siro author 5/24/2010

I try this Code it is not working
$value="<div><embed id="mediaPlayer

type="application/x-mplayer2" width="70" height="40"

src="$data["StoreID"]."'>".$data["Try"]" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" autostart="True" designtimesp="5311" loop="False" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"; name="mediaPlayer"></embed

"

A
ann 5/24/2010

Hi,
I recommend you to publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.

S
siro author 5/24/2010

Hi

this is the error code I got
Parse error: syntax error, unexpected T_STRING in /homepages/16/d227498675/htdocs/Jesus/joomtop/tjgbase/include/commonfunctions.php on line 665

Admin 5/24/2010

I recommend you to publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.