• Resolved ttodua

    (@ttodua)


    Nice plugin.
    One problem, even though on screenshot:
    https://ps.w.org/now-playing-widget-fuer-azuracast-stationen/assets/screenshot-1.png
    you have samples inserted, plugin should have a bit better description what values needs to be inputed in the fields. I have tried to guess them myself (because our azuracast is hosted on specific port/host/subfolder) and we are a bit confused which values should be there.
    So, please have a better explanatory for those fields.
    i.e. what needs to be put “AzuraCast” field? (the generic homepage url, the relay url (which is hosted on port 8000) or similarly, what needs to be inserted in other fields, named exactly as according to the AzuraCast dashboard displayed titles ( because there are many different links exposed in panel: https://i.imgur.com/Tc9CT3v.png )

    2) second problem (might be caused by the 1st issue, maybe i didnt inputed correct links there, anyway…) we can’t make the plugin to work on our site. We get this error in console on our wordpress page:

    View post on imgur.com

    Might be that reason that this page says:
    https://www.azuracast.com/developers/nowplaying.html#live-websocket-eventsource

    that nchansubscriber ( websocket connection ?) should be like:

    var sub = new NchanSubscriber('https://your-azuracast-site.example.com/api/live/nowplaying/station_shortcode');

    However, if we directly embed the iframe code, then it plays on our website (which is generated in AzuraCast dashboard, like:

    <iframe src="https://example.com/public/radio_name/embed" frameborder="0" allowtransparency="true" style="width: 100%; min-height: 150px; border: 0;"></iframe>

    • This topic was modified 4 years, 5 months ago by ttodua.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ttodua

    (@ttodua)

    (after spending around 25 minutes, i [myselft] found out that the word “shortcode” (used in fields of this plugin) actually means the station slug name. ) this is what i said about consfusing fields. “shortcode” in wordpress is of quite different meaning. tnx

    Plugin Author Javik

    (@sirjavik)

    Yeah. I see your problem. May I change shortcode to slug in newer versions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Some questions’ is closed to new replies.