Issue with subpath self hosted

Hi there

Thank you for this nice podcast player.

I am trying to self host this instead of using the CDN however I am having some issues regarding the reference.base config I think.

I installed using this: npm install @podlove/web-player --save ( version 5.0.0-preview7 was installed )
Moved the web-player folder https://cl.ly/1fd9bcd2656b
Embedding like this:
Then I think on the subsequent call I am getting the errors:
https://cl.ly/99eef6c716c4

It looks for “variant-xl.js” in the wrong place. So it seems my reference.base config is not working:

reference: {
    base: '/js/web-player'
},

According to the docs then “Reference to webplayer base, if not provided it falls back to the current url” it seems to fall back to current url suggesting my reference.base config is ignored.

Thanks

Hey,

you are using the latest preview for the upcoming player that is still in development. One of the reasons for bumping the major version is a change in the configuration. I’m working right now on a documentation to cover all the changes.

If you are eager to test the new player I would love to get some feedback to the new interfaces. You will find a reference implementation here: http://podlove-player-next.surge.sh/

If you need help feel free to post questions in this thread, DM me, reach me out on Twitter or create a Github issue: https://github.com/podlove/podlove-ui.

Thank you for the reply. I thought the version was wrong.

I decided to go with the 4.5.10 version for now but feel free to ping me when you get the docs up and I will try to implement it to give feedback.

From what I can see on the link you shared above then it looks really nice. Lots of nice UI features and very clean.

Hi!

The Podlove Player 5 has been released and I stumble in the same problem as philpp.

“variant-xl.js” is searched in the wrong location.

I tried

    reference: {
        base: '//my-test-domain.wtf/podlove/player/',
    },

and

base: '//my-test-domain.wtf/podlove/player/',

but it seems to be ignored and variant-xl.js cannot be loaded.

@zusatzstoff You mentioned a documentation in your post. Do you have a hint where I can find help? Thank you! :slight_smile:

Hey,

you can find the documentation right here: https://docs.podlove.org/podlove-web-player/

1 Like

I knew that one of course but was silly at another point.

Thanks and sorry.