Want to adapt your videos for multiple screens? Check out these 3 tips from JW Support
As a JW Player Support Engineer, one of the questions I am asked most is, “How do I best set up one player to deliver my video/ads/live stream across our desktop and mobile sites?” Well, a seamless viewing experience across the most-widely used browsers and devices is exactly what the player was born to provide. No one wants to worry about how their player will affect page layout on, say, the smaller screen of Safari on iOS, or wonder whether their ad will play on Chrome for Android. To this end, here are three considerations to keep in mind when configuring your player.
1. Set your player up for ‘responsive’ mode vs. set aspect ratio
In the early days of web design (or, just a few years ago) a video player that would, by default, resize to fit your browser was a mere aspiration. Even if a website were set up responsively, by using Bootstrap or some other framework that did the heavy CSS lifting, the video player size still posed a problem.
JW Player solved the video part of the resizing problem several versions ago. Just check the box for ‘responsive’ in the dashboard player builder, and your video will adjust to just the right size across browsers and devices. No more media queries or design headaches! Paired with our support of adaptive streaming technologies, this built-in functionality is the definition of ‘set it and forget it.’
2. Use HLS
JW8 supports two video file types, MP4 and WebM, and two different streaming protocols, HLS and DASH. But for the best and most consistently excellent performance, Apple’s HLS (HTTP Live Streaming) technology is the way to go. HLS is basically MP4, delivered over HTTP to your desktop or device in short segments, indexed in a file called a ‘manifest,’ an asset denoted by the .m3u8 file. You could go old-school and link directly to an MP4 in your player configuration, which has its uses. For example, you may run a learning management platform and want your students to be able to easily download videos to watch offline. You have subscribers who pay up front for content, so you are not that worried about anyone stealing your content. MP4 might then work best for you.
On the other hand, you can see how video delivered in short segments one at a time, via HLS, provides the awesome side benefit of increased content security, without having to enable token signing or otherwise lock down your urls.
HLS is provided to all JW Player customers at any subscription level, so upload a video file to the dashboard, grab the embed code, and take a look at it in a page. Or, if you are hosting your own HLS, you can give your stream url a try in our stream tester.
3. Use the JW Cloud-hosted Player
Customers are using videos in a huge diversity of ways, from editorial storytelling, to e-commerce, to broadcast-style live streaming, and more. For this and many other reasons, JW Player provides several options for ways to instantiate the player on a page, including cloud-hosted, self-hosted, and single-line embed.
The single-line embed works great, if you are looking to get your video onto your site quickly and with minimal effort. From your JW dashboard, you can copy and paste the embed code directly into your HTML. Save, reload your url, and click ‘play’ in the page. Done.
When your videos are hosted in JW Platform, you are able to access the widest range of data possible on viewer interaction in JW Analytics. The cloud-hosted player will also rotate your license key ~once a day, so concerns about stolen license keys are no more. Like I said, the best of both worlds.
Learn more about how JW Player can support your video business. Schedule time to speak with a video expert.