Browse Source

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

Bastien Sevajol 10 years ago
parent
commit
63adabb425

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

@@ -24,13 +24,13 @@ function SoundCloudPlayer(ref_id, object_for_player, finish_callback, autoplay)
24 24
     _iframe_id = 'soundcloud_player_'+new Date().getTime();
25 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 28
             +_ref_id+'&show_artwork=false&auto_play=true" width="100%" '
29 29
             +'height="350" scrolling="no" frameborder="no"></iframe>');
30 30
     }
31 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 34
         +_ref_id+'&show_artwork=false&auto_play=true" width="100%" '
35 35
         +'height="350" scrolling="no" frameborder="no"></iframe>');
36 36
     }