I want this file at my site to be played by any visitor withou needing to install windows media player plugin on their explorer http://sma1.byethost11.com/telawat_show-7.html
If you want to provide mp3 without your visitors needing plugins, you will need to use the html5 audio element. Older browsers won't support it. So you will need to have a fail-through method. See Mozilla Developer Network for usage examples. Here is a minimal test case: <!DOCTYPE HTML> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>Test Doc</title> <style type="text/css"> /*<![CDATA[*/ body { font: normal 100%/1.25 sans-serif; margin: 0; padding: 1.25em; } /*]]>*/ </style> </head> <body> <h1>audio element test</h1> <p><audio controls loop src= "https://ia600805.us.archive.org/31/items/sma10_outlook_002_201402/002.mp3"></audio></p> </body> </html> Code (markup): cheers, gary
You could try to implement this: http://playlist.me/w/i.php should be cross browsing compitable and easy to install.
Hello skible , kk5st , sarahk Thank you for your answers, i really appreciate it the problem is im not creating html pages by my self im using a script which create it for me i mean i press at the script admin page > add new mp3 file > then i select the path for it > done > it creates a page as in the link up i think i need to edit a code in the script files so that it creates new pages with html5 without media player plugin there is a link for the script if any one could search in it and tell me how i would really appreciate it.. and also if you didn't, thank you for trying to help me skible , kk5st , sarahk
You need to add html5 new features audio . You can learn more about this feature here http://www.w3schools.com/html/html5_audio.asp. I also learn from this website. You can use video control also.
im not creating html pages by my self im using a script which create it for me i mean i press at the script admin page > add new mp3 file > then i select the path for it > done > it creates a page as in the link up i think i need to edit a code in the script files so that it creates new pages with html5 without media player plugin there is a link for the script http://sma1.byethost11.com/script.zip if any one could search in it and tell me how i would really appreciate it..
Why are you concerned about using plugins? As far as I know, all the modern browsers automagically point to a download site for any uninstalled plugin that is needed for a site's media content. This is basic stuff for the web. For all (present) practical purposes, there is no advantage to using the audio or video elements over plugins. Please tell us your reasons for this issue, because I'd rather not dig into someone else's code to suss out the best correction, nor provide that correction to someone who, due to ignorance of programming, may really screw things up. cheers, gary
Hello Gary Thank you for your answer i don't wan't windows media player plugin because 1- it annoys the visitor that he need to install new plugin to listen the sound 2- not every visitor would install the plugin to listen the sound 3-in google chrome you need to download the plugin first then drag it to extensions manually and not all visitors would do this the script is open source code i would be really happy if you searched in the code and tell me how to change it i wish i could do it by my self but im not a programmer i think the change would be in the file named func_sound
hi ahmedsaid, I did a quick look into the file. The file you are suggesting is not right. You should look into function.php line 564. Change this: <EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="'.$width.'" height="'.$height.'" src="'.$url.'" autostart="true" designtimesp="5311" loop="true"> </EMBED> Code (markup): if you change the "puluginpage=" with an other url it will work. You only need to find a x-mplayer2 which supports the embedding. Change the url and done. Besides,I, myself, am not really a fan of how the scripts have been made / sorted. But that's an other story...
It is my experience that anyone who has listened to audio or wants to listen to audio has the plugins already installed. It is simply not an issue. As to point 2, perhaps they don't care to listen to the cantor chanting a two-hour liturgy. Re point 3, a red herring. Not using a plugin means that only the newest of browsers work. A very large number of people, especially those with older computers will not be able to listen at all. You are simply finding issues where none exist. Being open source does not imply and certainly does not guarantee clarity, especially as most people "programming" generic CMS scripts have no concept of separating logic from structure. Too, I have no way to test for a bug-free, robust fix. Further, it is my experience that those without coding skills can manage to find the most imaginative ways of screwing up the patch.