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

Youtube Streaming Audio only?


I'm trying to get my videos to play on IOS on my iPad Pro 9.7, but I keep getting audio only. I'm not sure if maybe it's not configured right or what, but I could use them help. The videos have been put in as links from youtube and I do currently have the free account if that has anything to do with it, but just trying to do some testing before I look into buying it.

I have tried using the short code and the different embed options.

The videos are on the bottom of the page or under media if you wanted to test some of the others.
http://legacyonline.church

17 Community Answers

Alex

JW Player Support Agent  
1 rated :

Hi there,

My name is Alex and I am one of the Support Engineers at JW Player. I will be more than happy to assist you with your questions.

YouTube recently made some changes to their API to strengthen their requirement to serve their content over HTTPS. This means that in order to be able to serve YouTube content in our player, your page will have to be served over HTTPS.

Please let me know if you need any more help or have any other questions.

Thank you!

a...

User  
0 rated :

That helped the main problem, but now on my IPad I'm unable to make the video full screen. Would that be a setting someplace?

Alex

JW Player Support Agent  
0 rated :

Hi,

I just tried going to https://legacyonline.church/ and it seems to be redirecting to the non-secure site for me, causing the YouTube players to still not work. Is there another link that you have this working on that is showing the fullscreen issue?

Thanks.

a...

User  
0 rated :

Hey,

I got the ssl thing fixed now I believe and the full screen is still not working. The videos do seem to play better.

If you go to Legacyonline.church/media it has all the videos listed there.


Thanks for the help!

Alex

JW Player Support Agent  
0 rated :

Hi there,

I wasn’t able to get the fullscreen button to work but then I looked in our bug tracking system and apparently there is current an issue with the player not being able to bring YouTube videos to fullscreen on iOS. I will let the engineers know that you are also reporting this issue. However, I do not have a timeframe for a resolution.

Please let me know if you need any more help or have any other questions.

Thank you!

Alex

JW Player Support Agent  
0 rated :

Hi there,

I have heard back from one of our Product Managers regarding your issue with YouTube videos going fullscreen on iOS. I have been told that it is being caused by changes on YouTube’s end that ended up being incompatible with JW 7. Our Engineers are looking into solutions for this, but I do not have any more informaiton at this time.

Please let me know if you need any more help or have any other questions.

Thank you!

abross

User  
0 rated :

Thanks for the help!

I'm just happy it's not something I did setting wise.

I do have one more question, is it possible to play a video before the embedded video plays? Like how a ad would play before the video goes?

I would like to be able to have a intro video for all my videos then at some point when that changes I would like to change it on all of them at once. If that's something that you need a ad membership for do you know about how much cost wise?

Alex

JW Player Support Agent  
0 rated :

Hi there,

Having an Ads license and making a custom VAST tag for your pre-roll would definitely be the easiest thing but there are ways to do it without an Ads subscription. I’ve built a demo page, which you can see here that will explain everything and also provide a code example.

Please let me know if you need any more help or have any other questions.

Thank you!

abross

User  
0 rated :

Hey,

Thanks for the extra help!


The link you provided is not working?

It keeps saying can't connect to server.

Alex

JW Player Support Agent  
0 rated :

Hi – sorry about that. In our ticketing system, tickets from all different channels look very similar and I didn’t realize that this was a forum post. Our forums are HTTPS only so I need to give you a HTTPS URL. Here you go.

Thanks.

a...

User  
0 rated :

Hey I'm trying to paste that code intro my site and it's not showing any players just the code. I changed out the two content links with the videos I wanted, but it does not seem to be working.

Most likely I'm missing something, but here's a link to the page I'm trying it on.
https://legacyonline.church/236-2

Alex

JW Player Support Agent  
0 rated :

If you’re putting the code directly into a post, I believe you need to surround it in <script> tags.

a...

User  
0 rated :

Do I need to change the myElement to anything?

Here's what I got

Adding the <script> made the code hide at least so that's better. I am also trying to add it right into the text box is there a better place for adding that?



<script>
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "src="//content.jwplatform.com/videos/LqQCwk6p-IjSQFBpC.js"",
width: "100%",
aspectratio: "16:9"
});

playerInstance.once("play", function() {
playerInstance.setControls(false);
});

playerInstance.once("complete", function() {
playerInstance.setControls(true);
playerInstance.load("src="//content.jwplatform.com/videos/e4a36Dqy"");
playerInstance.once("playlistItem", function() {
playerInstance.play();
});
});
</script>

Alex

JW Player Support Agent  
0 rated :

You would need to have a DIV with the id of “myElement” as that ID is what is being passed into jwplayer().

a...

User  
0 rated :

Is there a support article that would explain how to do that? I can't seem to get it to work or find one thats helping.

Thanks for the help!

a...

User  
0 rated :

I got the player to work with this code, but was wondering is it something with the var part of the code provided? Since I'm placing it right into the text content would there be something else that I need to do on it?

<body>
<div id="container"></div>
<script>
jwplayer("container").setup({
file: "https://youtu.be/AegjpMaUBEs"
});
</script>
</body>

Alex

JW Player Support Agent  
0 rated :

Hi there,

The code you provided would work, but the following should also work:

<body>
  <div id="container"></div>
  <script>
    var playerInstance = jwplayer("container");
    playerInstance.setup({
      file: "https://youtu.be/AegjpMaUBEs"
    });
  </script>
</body>

Setting a variable for the instance of jwplayer is valuable if you are planning on using our JavaScript API to extend the functionality of the player, but it is not absolutely required.

This question has received the maximum number of answers.