I am using the code to run videos on several mobile devices, the code works perfect on desktop or laptops.
To run a video, I am using an iframe that calls a pretty simple website. Actually, I am using all the documents dowloaded from GitHub.
In tis point of time I am working on Android devices.
Code
Here: Video Player component on Github
Results
Expected
I expected videojs and videojs panorama to play back my video and when I move the device up, the video should move.. up. Instead of that, it's moving to the right. When I look down, it's moving to the left... etc.
Actual
See description
Error output
No errors
Additional Information
This is important! After hundred of examples, I detected that when the size of the iframe is lower than 310 pixels, the move of the video became erratic. If the iframe is higher than 310, the video moves properly.
Description
I am using the code to run videos on several mobile devices, the code works perfect on desktop or laptops.
To run a video, I am using an iframe that calls a pretty simple website. Actually, I am using all the documents dowloaded from GitHub.
In tis point of time I am working on Android devices.
Code Here: Video Player component on Github
Results
Expected
I expected videojs and videojs panorama to play back my video and when I move the device up, the video should move.. up. Instead of that, it's moving to the right. When I look down, it's moving to the left... etc.
Actual
See description
Error output
No errors
Additional Information
This is important! After hundred of examples, I detected that when the size of the iframe is lower than 310 pixels, the move of the video became erratic. If the iframe is higher than 310, the video moves properly.
You can check my code here: http://www.travelsfor.me/test/