How can I make documents available on mobile devices without having to go fullscreen?

Business Case:

KPI to be measured

Bookmark this resource Follow

Ask a question

Was this article helpful? 0 out of 0 found this helpful

According to the device's resolution, the playback of DOCUMENT content types (pdf) may be blocked on mobile devices, unless the user taps on the icon which is visible over the player and goes fullscreen. To avoid this, always make sure to include the following in the embed parameters:

minHeightWidthPercent: 0

 

Here's an example:

 

<div id="xyz" style="width: 100%; height: 100%"></div>

var options = {
  clientId: '<your clientId>',
  xcontentId: '<xcontentId here>',
  sessId: '<a valid pkey here>',
  autoplay: true,
  minHeightWidthPercent: 0,  
  mouseWheelZoom: false,
};

var player = THRONContentExperience("xyz", options);
Was this article helpful?
0 out of 0 found this helpful

Have any question?

Open a ticket
Comments