herokudnsjwplayerdomain-mapping

JW Player Not Loading on Mapped Domain


I created a site which I'm running through Heroku and everything is working fine on the app URL: https://serene-scrubland-3140.herokuapp.com/

I then mapped the app to a custom domain: http://www.wmpmedia.ca/

On the custom domain the JW player no longer loads at all. I've been through the code a couple times and figure the script is not getting a chance to load. I'm a bit new to this so any advice would be greatly appreciated!


Solution

  • It looks like you are self hosting, and using the cloud hosted player, at the same time.

    <script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
    

    And

    <script src="http://jwpsrv.com/library/J13GIpn+EeSalhJtO5t17w.js"></script>
    

    Try to remove one of the lines, you shouldn't use it twice. Try to remove the first, if that doesn't work, try to remove the 2nd, and use the first instead.