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

(On iOS) Links to open in same video player window


I am using JWplayer version 6.8 and I used the reference from this article:

Problem :
Not working properly on iOS devices.

Links are working fine with local files and also for Youtube links on desktop. But on iOS it is quite problematic

If a local video is first loaded in the player -
Links to open a Youtube video gives an error message :
"Error loading playlist: No playable sources found"

If a Youtube video is first loaded in the player -
Youtube video is playing fine but all the other links, even links to local files, will not react at all upon clicking.

So it just seems like the javascript link isn´t compatible with iOS devices.somehow... I dunno

Can you recreate this problem?

The code

<li><a href="javascript:loadVideo('canvas1.mp4','leaves.jpg')">Canvas 1</a></li>
<li><a href="javascript:loadVideo('','underwater.jpg')">Under water</a></li>
<li><a href="javascript:loadVideo('canvas2.mp4','leaves.jpg')">Canvas 2 1</a></li>

<script type="text/javascript">
title: "Canvas 1",
description: "Leaves touching water",
image: "",
file: "",
width: 800,
height: 330,
function loadVideo(myFile,myImage) {
file: myFile,
image: myImage,

2 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

We do not support mixing YouTube / mp4 content yet on iOS. Currently, we fall back to the default YouTube player.


0 rated :

I am having the same problem but I'm not using an external source - all local.
I have a default video loaded and works fine.
The links below work in Windows but not on iOS.
What is the workaround?

This question has received the maximum number of answers.