You are not logged in.

Search results

Search results 1-9 of 9.

Thursday, March 5th 2020, 12:27am

Author: vapt_dev

Differentiate what iPhone the user is using

Thanks Klaus!! I also have another iPhone/mac related question... When switching videosources using Safari on iPhone and Desktop I have noticed that the video briefly loads/displays the first frame of the video before jumping back to the current video time. Do you know why this occurs?

Tuesday, March 3rd 2020, 3:41pm

Author: vapt_dev

Differentiate what iPhone the user is using

Is there a way to determine what iPhone model the user is using? I know you can differentiate what iOS version they are using, but is there any way to determine the device? Older iPhones don't support 4K video playback, but newer ones do, so I would like to serve different video qualities based on the device they are using.

Monday, March 2nd 2020, 10:21pm

Author: vapt_dev

Safari showing first frame of video

In Safari on desktop and mobile, whenever I switch video sources to change the video quality, Safari shows the first frame of the video for a short time before jumping to the correct time in the video. Does anyone know a fix for this issue?

Wednesday, January 8th 2020, 7:45pm

Author: vapt_dev

loadedbytes action is showing incorrect value

Ah, yes that is what I have currently as well for the initial load. However, I am asking about the incorrect loadedbytes values because I am trying to create a speed test that upgrades/downgrades resolutions depending on the user's network speeds. Whenever the lower qualities are played (360 and 480), krpano believes the video is completely loaded, and therefore I am unable to calculate the buffering rate of the video.

Wednesday, January 8th 2020, 5:57pm

Author: vapt_dev

loadedbytes action is showing incorrect value

Quoted from "indexofrefraction" if you really need an exact loader you have to do it yourself in js, i guess (preload the file) How would you do that? The best way would be to add a "progress" event listener to the request that is loading the video, but it does not seem like we have access to that part of the code... Would just need to add something like this... Source code 1 2 3 4 5 6 7 8 9 10 var req = new XMLHttpRequest(); req.addEventListener('progress', function(event) { if (event.lengthCo...

Monday, January 6th 2020, 9:16pm

Author: vapt_dev

loadedbytes action is showing incorrect value

Quoted from "indexofrefraction" this is not a problem of krpano, you cant get an exact value. i gave up on loading bars long ago I am able to accurately track the loadedbytes for larger video files, so is this only an issue for small video files?

Monday, January 6th 2020, 6:46pm

Author: vapt_dev

loadedbytes action is showing incorrect value

When I call the loadedbytes value for a small video (under ~10mb), it returns the same value as the totalbytes action which means that the video should be completely loaded. But when I check the network console on Chrome, it shows that the video is still being downloaded from the source. Does anyone know why krpano says the video is completely loaded?

Friday, January 3rd 2020, 9:19pm

Author: vapt_dev

how far ahead does the video buffer from the current time

is there a limit to how much the video will buffer and is this value fixed or can it be changed?

Friday, January 3rd 2020, 9:12pm

Author: vapt_dev

loadedbytes is showing incorrect value

When I call the loadedbytes value for a small video (under ~10mb), it shows that the video should be completely loaded. However, when I check the network console on Chrome, it shows that the video is still being downloaded from the source. Does anyone know why krpano says the video is completely loaded?