Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

[WordPress plugin] Bad external media url


Hi,
I've got JWPlayer for Wordpress 6.12 ; I try to add an external video in a post to be published on http://my-site.com/my-post

Media URL : https://video-server.com/video.mp4
Validate, insert with JWPlayer, shortcode ok : [jwplayer player="1" mediaid="1501"]

BUT inside the media library the url for that external video became :
http://my-site.com/wp-content/uploads/https://video-server.com/video.mp4

Off course, the videos doesn't show up.
How can I fix that, please.
Thank you.

3 Community Answers

Andrew

JW Player Support Agent  
0 rated :

I’m not able to replicate this behavior on my side. This may be due to loading an HTTPS file on an HTTP site, but I’m not certain. Is it possible to load all content/site via the same protocol?

fd

User  
0 rated :

Well, the video is token protected.
I was wondering if WP wouldn't be the only responsible. It may assume that all paths are relatives and always adds the root. But I can't find how to prevent that in the WP settings or in wpconfig.php :o(

Andrew

JW Player Support Agent  
0 rated :

If you’re adding this as an external piece of media, it shouldn’t… I’ve been able to do this on my own setup without a problem. If you use a youtube example or RTMP stream for this, Wordpress should be able to detect this and not load it in a relative path. Are any other pieces of media doing this?

This question has received the maximum number of answers.