Browse Source

Logiciel: Anomalie #897: Soundcloud: erreur d'import httpS

Bastien Sevajol 11 years ago
parent
commit
63adabb425

+ 2 - 2
src/Muzich/CoreBundle/Resources/public/js/player/SoundCloudPlayer.js View File

24
     _iframe_id = 'soundcloud_player_'+new Date().getTime();
24
     _iframe_id = 'soundcloud_player_'+new Date().getTime();
25
     if (!_autoplay)
25
     if (!_autoplay)
26
     {
26
     {
27
-      _object_for_player.html('<iframe id="'+_iframe_id+'" src="http://w.soundcloud.com/player/?url='
27
+      _object_for_player.html('<iframe id="'+_iframe_id+'" src="https://w.soundcloud.com/player/?url='
28
             +_ref_id+'&show_artwork=false&auto_play=true" width="100%" '
28
             +_ref_id+'&show_artwork=false&auto_play=true" width="100%" '
29
             +'height="350" scrolling="no" frameborder="no"></iframe>');
29
             +'height="350" scrolling="no" frameborder="no"></iframe>');
30
     }
30
     }
31
     else
31
     else
32
     {
32
     {
33
-      $('#autoplay_player_soundcloud').append('<iframe id="'+_iframe_id+'" src="http://w.soundcloud.com/player/?url='
33
+      $('#autoplay_player_soundcloud').append('<iframe id="'+_iframe_id+'" src="https://w.soundcloud.com/player/?url='
34
         +_ref_id+'&show_artwork=false&auto_play=true" width="100%" '
34
         +_ref_id+'&show_artwork=false&auto_play=true" width="100%" '
35
         +'height="350" scrolling="no" frameborder="no"></iframe>');
35
         +'height="350" scrolling="no" frameborder="no"></iframe>');
36
     }
36
     }