Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Graphics, Flash and Multimedia _ Audio swf file template design

Posted by: jane_doe Apr 7 2014, 12:57 PM

Hello!

I'm having some trouble with the player i want to embed. I want to make it look pretty, with fancy buttons , the list of traks and stuff like that. Are there more options available for this if i use the audio html5 tag? If so, how can i add buttons and images? This is the code i've got so far.

CODE
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" type="application/x-shockwave-flash" data="player.swf">
       <param name="audio" value="player.swf" />
       <param name="play" value="false">
       <param name="bgcolor" value="#461B7E"/>
       <param name="quality" value="high"/>    
       <param name="scale" value="showall"/>
       <param name="allowfullscreen" value="true" />      
       <param name="allowscriptaccess" value="always" />
       <param name="flashvars" value="buffertime=3&skin=rowafed.xml&plugins=metaviewer-1&metaviewer.position=top&metaviewer.size=100&file=http://live-zen.distinct.ro:8000&streamer=rtmp://live-zen.distinct.ro/shoutcast&provider=rtmp&autostart=true"/>
       <embed
          type="application/x-shockwave-flash"
          id="player1"
          name="player1"
          src="player.swf"        
          bgcolor="#461B7E"
          height= "200px"
          width="350px"
          wmode="window"
          quality="high"
          allowscriptaccess="always"
          allowfullscreen="true"
          flashvars="buffertime=3&skin=rowafed.xml&plugins=metaviewer-1&metaviewer.position=top&metaviewer.size=100&file=http://live-zen.distinct.ro:8000&streamer=rtmp://live-zen.distinct.ro/shoutcast&provider=rtmp&autostart=true"
        />
        </object>


Please, take a look at it. I would really need some help.

Posted by: jimlongo Apr 7 2014, 01:07 PM

i recommend http://www.longtailvideo.com/support/jw-player/28842/working-with-playlists with pictures, etc.,

It uses html5 audio/video when the browser supports it, and falls back to flash in older browsers. Which means unlike your flash approach it will work in mobile devices.

Posted by: jane_doe Apr 7 2014, 01:51 PM

I see here it doesn't support swf files. Should i convert it to mp3 or something?

Posted by: jimlongo Apr 7 2014, 01:53 PM

I would use h264 for video and mp3 or mp4 for audio.
They should have recommendations there as to the best filetypes.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)