V
V
VitaliyWebkichen2016-03-04 20:19:23
WordPress
VitaliyWebkichen, 2016-03-04 20:19:23

Why doesn't jwplayer work correctly in firefox?

Why does jwplayer work strangely in firefox!
call:

<script type="text/javascript">
                              
                    $(document).ready(function(){
                      jwplayer("player_<?php echo $id_post; ?>").setup({
                        file:"<?php echo $audio_src['url']; ?>",
                        width:"100%",
                        height:"40",
                        'modes': [
                          {type: 'html5'},
                          {type: 'flash', src: 'http://' + location.hostname + '/wp-content/themes/heaven_theme/js/jwplayer.flash.swf'},
                          {type: 'download'}
                        ]																		
                      });
                    });
                  
                  </script>
                  
                  <div id="player_<?php echo $id_post; ?>">Аудио плеер</div>

gives an error: Error playing media: MediaError { code=3, MEDIA_ERR_ABORTED=1, MEDIA_ERR_NETWORK=2, more...}
Here is a link to the page: heaven.apoehali.com.ua/category/propovidi

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question