Choosing a html5 video file depending on the resolution of the activating device doesn't work properly

UNCONFIRMED
Unassigned

Status

()

Core
Audio/Video: Playback
UNCONFIRMED
5 years ago
2 years ago

People

(Reporter: ramona.haas, Unassigned)

Tracking

18 Branch
Other
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 729483 [details]
index2.html

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130307023931

Steps to reproduce:

I've developed a simple html5 document (index2.html) containing only one html5 video element. I use JavaScript to determine the resolution of the activating device and depending on that I chose different video files of different resolutions and dynamically set them as the source of the video element. 


Actual results:

On a HTC One S and on a Samsung Galaxy S3 in landscape mode the wrong video version is chosen and delivered (myVideo_XS instead of myVideo_S).


Expected results:

Both test devices have at least a width of 800 pixels. Therefore on both devices in landscape mode the myVideo_S video file should be delivered
(Reporter)

Updated

5 years ago
OS: Windows 7 → Android
Hardware: x86 → Other
(Reporter)

Updated

5 years ago
CC list accessible: false
Not accessible to reporter

Updated

5 years ago
Group: core-security
Component: Audio/Video → Audio/Video: Playback
You need to log in before you can comment on or make changes to this bug.