【问题标题】:How to play radio in background of WordPress website?如何在 WordPress 网站后台播放广播?
【发布时间】:2019-12-14 04:15:05
【问题描述】:

我从 Radio.net 嵌入了一个在线广播电台,我的任务是开发一个 Web 应用程序,因此我使用嵌入小部件在 WordPress 网站环境中构建它。

Radio.net 提供了这个嵌入代码:

<script> (function(d, s) {
    if (!window.rel) {
        s = d.createElement("script");
        s.type = "text/javascript";
        s.async = true;
        s.id = "radio-de-embedded";
        s.src = "//www.radio.net/inc/microsite/js/full.js";
        d.getElementsByTagName("head")[0].appendChild(s);
        window.rel = true;
    }
}(document)); < /script><div class="ng-app-embedded"><div ui-view class="microsite embedded-radio-player" data-playerwidth="340px" data-playertype="web_embedded" data-playstation="keithngesi" data-autoplay="true" data-apikey="abcdef..."></div>
  1. 如何实现在网站或 Web-App 仍处于活动或在线状态时继续播放广播的实例?

  2. 当用户切换页面时收音机播放器继续播放?

【问题讨论】:

    标签: wordpress embed progressive-web-apps radio


    【解决方案1】:

    你想建立一个Single page application

    这是Jump start

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-03-02
      • 2015-02-24
      • 1970-01-01
      • 2018-09-15
      • 1970-01-01
      • 1970-01-01
      • 2019-04-02
      • 1970-01-01
      相关资源
      最近更新 更多