javascript - Is there a way to call back live seek times from SoundCloud oEmbed? -


i ok javascript in general did not master callbacks yet. have code here embeds player page div location. uri json using php.

    <div id="widgetlocation"></div>      <script type="text/javascript">         sc.oembed("<?php print $obj->{'uri'}; ?>", {                                                     // optional parameters                                                     sharing         : false,                                                     buying          : false,                                                     liking          : false,                                                     show_artwork    : false,                                                     show_comments   : false,                                                     show_playcount  : false                                                     },                  document.getelementbyid("widgetlocation")          );      </script> 

i looked here: http://developers.soundcloud.com/docs/api/html5-widget , looked @ playground here: https://w.soundcloud.com/player/api_playground.html (what there view source code written in complex javascript , don't seem see how make work js sdk sc.oembed. seems using different js library.

what want simple when seek within widget displays current position in label or something. possible so?

use currenttime method along media fragments api:


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -