HTML5 MP3 Player Support Product Page

Playlist Appears Fine Using HTML5 Databindings, But Doesn't Play

Reported 05 May 2017 15:42:45
1
has this problem
05 May 2017 15:42:45 Bobby Edgar posted:
I am having troubles getting the songs to play. I load the player with repeat information and the playlist appears fine.


<div class="dmxHTML5MP3Player playlist" id="audio_player">
                         <div class="dmxHTML5MP3PlayerPlaylist">
                           <ol>
                           <li data-binding-id="repeat_audio" data-binding-repeat="{{audio.data.user_audio}}"><a href="../meet/{{vf_client_page_name}}/audio/{{vf_client_media_file_name}}">"{{vf_client_media_title}}" | Uploaded: {{vf_client_media_added}}</a>[/*]
                           </ol>
                         </div>
                       </div>
<script type="text/javascript">
  // <![CDATA[
 jQuery(document).ready(
   function()
     {
       jQuery("#audio_player").dmxHTML5MP3Player(
         {"autoNext": false, "loop": false, "playlist": "a[href$=\".mp3\"]"}
       );
     }
 );
  // ]]>
                       </script>



But...if I try to play a song, the browser prompts to download the sound rather than play it.


Replies

Replied 09 May 2017 06:21:10
09 May 2017 06:21:10 Teodor Kuduschiev replied:
Hello Bobby,
Unfortunately the mp3 player extension is not compatible with HTML5 Data Bindings data sources.

Reply to this topic