Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (webview)
Viewing all articles
Browse latest Browse all 680

SoundCloud iframe on webview not playing

$
0
0

I have a webview which I set its HTML content manually. The content is just an iframe from soundcloud like the code bellow:

index.js

var html = "<iframe width='100%' height='120' scrolling='no' frameborder='no' src='https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/20808761&color=ff6600&auto_play=false&show_artwork=false'></iframe>";
$.soundcloud.setHtml(html);
index.xml
<Alloy>
    <Window class="container">
        <WebView id="soundcloud"/>
    </Window>
</Alloy>
When I hit the play button, I can see the click highlighting, the button changes to 'pause' as expected, but the timer stays still at 0:01, no sound comes out.

Is there any special property? Cache stuff that may interfere?

Thanks


Viewing all articles
Browse latest Browse all 680

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>