Tean

Tean supports this item

Supported

This author's response time can be up to 2 business days.

107 comments found.

Yes, fair enough but I have raised the exact same issue 7 months ago and got no answer to it. At that time I was waaay inside the 6 months support period… Check the comments :)

7 months ago, that time for youtube, same error though with all media types since it seems to be a reinitialization issue:

“According to changelog, api calls are accepted in popped out version. I did a test with the deploy/fixed bottom version, popped out and used the “usual” addtrack method and got this when using console:

var track = { type: ‘youtube_single’, path: ‘5ASjhNBL5fU’ }; hap_player.addTrack(‘data’, track, false);

Uncaught TypeError: Cannot read property ‘addTrack’ of undefined at <anonymous>:4:30 (anonymous) @ VM386023:4 “

Popup plays track normally, you just cant use api inside of it if you reload the page.

Is there a chance to make it happen somehow, or it’s a DOM limitation?

I mean plugin already stores on user’s machine that there is a popup open, all it needs to do is initialize the hap player connected to the popup’s data in localstorage and done, instant access to the popup player on every page that has new.js and new_cb.js initialized. Thanks for the feedbacks by the way!

Awesome plugin (edited for replying to the wrong place :) )

Hi again Tean! Curious, is it easy to show the current progress time of a song in a div? In the fixed_bottom6 layout, the time only appears when rolling over the progress bar but i’d like to see it more visible if possible.

Thanks in advance!

Tean

Tean Author

This is a tooltip which appears on hover. But you can retrieve time with api.

hap_player.getCurrentTime() / hap_player.getDuration()

kwondra34

kwondra34 Purchased

Sorry for the delay in getting back to you Tean. So to display the current progress of a song in a div, I figured I would simply use the ‘hapProgressChange’ callback that is included in new_cb.js but it seems that it is not implemented in new.js (no reference to it). My IDE (RubyMine) has a global ‘find usages’ feature and it does not see any code for hapProgressChange. Was it left out in a recent release on accident? Also, if this code was included, would it be the appropriate place to implement a real-time div displaying the current progress? Thanks in advance!

Tean

Tean Author

You can retrieve time with api in new.js

hap_player.getCurrentTime() / hap_player.getDuration()

Hi again Tean,

Thanks for all your assistance the last month. I just noticed that IE11 (presumably others as well) neglect to show progress of the audio progress bar. If you let audio play for 10 or 15 seconds and then hit pause, you’ll see the bar jump to where the audio was paused, but it won’t move automatically.

I know IE isn’t great… but do you know of a way to fix this?

Thanks!

See behavior here: http://www.interactivepixel.net/env/jhap2wp/index_fixed_bottom6_continous.php

Tean

Tean Author

Try removing transition in css:

.hap-progress-level{
   ...
   -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out; 
}

Wow, it actually worked. Isn’t this the very thing that drives the transition/progress bar functioning? Maybe it was conflicted with somewhere else it was implemented? In any case, thank you!

furien92

furien92 Purchased

Bonjour aprés installation ce player ne joue pas les podcast playlist Configuration: “artwork” original exemple URL player: https://www.radio-pulsar.com/index_artwork.html

furien92

furien92 Purchased

After installation this player does not play podcast playlist Configuration: “artwork” original example URL player: https://www.radio-pulsar.com/index_artwork.html

furien92

furien92 Purchased

The specified URL is my player. The test with http://www.kingola.com/feed/podcast/ or http://robertkelly.libsyn.com/rss no results found for podcast playlist.

Tean

Tean Author

You have this error in browser console:


Failed to load resource: the server responded with a status of 404 (Not Found)

https://www.radio-pulsar.com/includes/ba-simple-proxy.php?url=http%3A%2F%2Frobertkelly.libsyn.com%2Frss&_=1508337172423

Either this file (ba-simple-proxy.php) is missing on your side or some server setting is preventing execution.

furien92

furien92 Purchased

The file (ba-simple-proxy.php) was not in the right place. It’s good now. Thank you for your help.

looping an item from a playlist does not work…

Tean

Tean Author

Hi!

loopingOn setting loops whole playlist.

Ah okay. So I take it there is no single track looking function then? Very nice work by the way.

Tean

Tean Author

No, its not possible to loop singe item individually, unless playlist contains only single item.

by
by
by
by
by
by