0
Iniciado

IB 4 | PlayVideo Not Working

Pardesi Media hace 9 años actualizado por Alin Alexandru Matei hace 9 años 6
I am testing the Video functionality in IB4. I created a one page app, added a video, and a play button. On tap of button have the behavior set to PlayVideo.

When I click on Interact to test it and tap on the play button, it gives me the "The page you are trying to jump to has not been loaded" error. I only have one page, and I am trying to run the Video on screen.

--
Adeel

Respuesta

Respuesta
En revisión
Is the button in one of the corners of the page? Make sure to disable page flip backwards and page flip forwards in the page properties if you prefer to place the button in the corner of the page. I tested the PlayVideo behavior just now, and it worked in the browser, but let me know if it still doesn't work if the button is not in the corner or if page flip backwards and page flip forwards are already turned off.
Respuesta
En revisión
Is the button in one of the corners of the page? Make sure to disable page flip backwards and page flip forwards in the page properties if you prefer to place the button in the corner of the page. I tested the PlayVideo behavior just now, and it worked in the browser, but let me know if it still doesn't work if the button is not in the corner or if page flip backwards and page flip forwards are already turned off.
Thanks Inna, I believe that was the issue. Now when I hit the play button it shows the video border but does not load the video. Do you know how much time does it take for the video to load (it's a 681 KB video made in QuickTime Player)? 

--
Adeel
The video should play right away, so it might be that it did not import properly. In the video element's properties, does it say the correct file name in the "Video" field? What type of file is the video (mov, mp4)? Do you see the video file in your app folder?
Yes it says the name correctly and I checked it is included in the app folder as well. It's a .mov file.
I was able to recreate this situation and forwarded to our lead developer. Thank you for your feedback.