Issue with S7 Video Viewer with Android | Community
Skip to main content
Level 2
Dec 5, 2017 8:09 AM UTC
Solved

Issue with S7 Video Viewer with Android

Hello,

we have just replaced the S7Video Viewer with a version hosted locally (v3.2.1), but unfortunately i got an issue with the video player on android.

It works well on all platform, including IOS (launch the native player).

But when it comes to Android - no way to make it works, it seems to play, ... but never play

This is a code example of how it is init :

   var s7videoviewer = new s7viewers.VideoViewer({

                'containerId' : $video.attr('id'),

                'params' : {

                    'VideoPlayer.ssl' : 'on',

                    'serverurl' : 'https://company-h.assetsadobe2.com/is/image',

                    'contenturl' : 'https://company.assetsadobe.com/',

                    'config' : 'etc/dam/presets/viewer/Video',

                    'videoserverurl' : 'https://gateway-eu.assetsadobe.com/DMGateway/public/company',

                    'posterimage' : asset,

                    'asset' : asset,

                    'autoplay' : autoplay.toString(),

                    'waiticon' : 1

                }

            });

s7videoviewer.init()

Here is an page example where you can see the video player :

http://tiny.cc/aguapy

Any idea ?

Thanks in advance,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Jan 30, 2018 4:38 AM UTC

Engineering team looked at your code. It's difficult for them to troubleshoot w/o being able to access the actual embed code.

Please create a support ticket for this to get them debug this fully.

-Kautuk

Kautuk Sahni

6 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
Jan 30, 2018 4:38 AM UTC

Engineering team looked at your code. It's difficult for them to troubleshoot w/o being able to access the actual embed code.

Please create a support ticket for this to get them debug this fully.

-Kautuk

Translate
Kautuk Sahni
mlds06Author
Level 2
Jan 26, 2018 7:43 AM UTC

Still the same issue,

i just posted an update

Translate
mlds06Author
Level 2
Jan 26, 2018 7:41 AM UTC

Hello,

Here is an update :

I tried to use the last version of the s7viewer in order to have a player HLS compatble.

But this player is not working on Android.

(On real device, it launch the native player on IOS, but nothing happens on Android (tested multiples devices), you can also reproduce using the developer panel of Chrome).

You can have an example here :

LINK (not the top video, the one in the middle of the page)

Here are parameter that we are using

            var s7videoviewer = new s7viewers.VideoViewer({

                'containerId' : $video.attr('id'),

                'params' : {

                    'ssl' : 'on',

                    'serverurl' : 'https://xxxx-h.assetsadobe2.com/is/image',

                    'contenturl' : 'https://xxxx.assetsadobe.com/',

                    'config' : 'etc/dam/presets/viewer/Video',

                    'videoserverurl' : 'https://gateway-eu.assetsadobe.com/DMGateway/public/xxxx',

                    'posterimage' : asset,

                    'asset' : asset,

                    'autoplay' : autoplay.toString(),

                    'progressivebitrate' : '3000',

                    'initialbitrate' : '3000'

                }

            });

We rely on this script :

s7d1.scene7.com/s7viewers/html5/js/VideoViewer.js

I noticed some weird 403 call (desktop or mobile)

https://xxxx.assetsadobe2.com/is/image/content?req=message&message=,0,LOAD,506,expeditions,5.8.4,3.3.4,,,content/dam/silversea-com/expeditions/Silversea-Expeditions.mp4

So multiple solutions :

- It’s a bug of the current S7Viewer, but i guess we already rely on the last version

- Can we deactivate the native player on mobile/touch device ? (keep the desktop player even on mobile)

Small additions if you force a desktop user agent on Android it works well

Thanks in advance for your support

Translate
smacdonald2008
Level 10
Dec 5, 2017 6:25 PM UTC

Let us know what happens.

Translate
mlds06Author
Level 2
Dec 5, 2017 5:06 PM UTC

I reverted our stage environment with the previous version we were using (s7sdk 2.1) instead of s7sdk 3.2 as i need to do a deployment tomorrow.

I will re=-update again by tomorrow.

Translate
kautuk_sahni
Employee
Dec 5, 2017 9:56 AM UTC

Asked internal experts to have a look at this one!!

-Kautuk

Translate
Kautuk Sahni