Log in or register to post comments

How auto / full screen video?

July 12, 2013 - 11:49pm #1

How auto / full screen video?

https://developer.vuforia.com/resources/sample-apps/video-playback-sample-app

http://i.imgur.com/Xk0i4hc.png

http://v.youku.com/v_show/id_XNTgyMTI4MTM2.html?qq-pf-to=pcqq.group

How to modify the "Video Playback" code?

The first function:
When induction the picture, it will auto play the movie.

The second function:
Press the Play button becomes full screen video playback。

May I ask how to modify these two functions should be made ​​out?

There are several issues Android "Video Playback" Issue:
When I use an Android phone "Video Playback"  is no problem, but if that scene with model it will be delayed, I do not know how to solve?
And In the Android tablet "Video Playback" have a provlem, If i press "PLAY" Shique it would becomes full screen mode, Does any ones know why or how to fix it?

 

How auto / full screen video?

February 21, 2017 - 8:52am #15

any news about this?

 

thanx in advance

How auto full screen video to scale device dimensions?

May 18, 2016 - 12:27pm #14

Hi Alessandro,

I am using Vuforia 5 with Android SDK

Full screen method is play with media player but i dont want this .

I want to play my video automatic in full screen (to scale device dimensions) when client track target

how can I do this ?

important

Thanks .

How auto / full screen video?

August 19, 2014 - 3:22am #13

Hi DavidBeard,

I am using unity and vuforia library, and I want to play the video in fullscreen mode. I made the changes you mentionned in your comment but when I double tap the screen the video only loads on texture and doesn't play.

Thank you in advance for your response.

How auto / full screen video?

May 7, 2014 - 9:34pm #12

Can you share the scripts, are hard to find, you will be my salvation

How auto / full screen video?

July 21, 2013 - 9:15am #11

In the VideoPlaybackController script, which is on your ARCamera, you can define how the Video prefab responds to touch events - so that it will always play fullscreen.

Change line #147 from video.VideoPlayer.Play(false, video.VideoPlayer.GetCurrentPosition()); to video.VideoPlayer.Play(true, 0);. The first argument defines whether the player is presented in full screen mode, and the second defines the seek position.

If you want to start the video in full screen mode as soon as the target is detected, uncomment lines #125 - #152 in TrackableEventHandler.cs and revise the Play calls accordingly.

How auto / full screen video?

July 21, 2013 - 2:58am #10

AlessandroB wrote:

In Unity, the relevant scripts are:

VideoPlayerHelper.cs (in the Vuforia Video Playback directory)

VideoPlaybackController.cs

VideoPlaybackBehaviour.cs

 

In particular, the VideoPlayerHelper script is the one that contains a Play() method, which takes a boolean argument to specify whether you want to play fullscreen or not.

 

 

SORRY

do not understand
I can not find the PLAY (),
And "VideoPlayerHelper.cs" can not be placed directly on the "IMAGE-TARGET"

How auto / full screen video?

July 20, 2013 - 11:32am #9

In Unity, the relevant scripts are:

VideoPlayerHelper.cs (in the Vuforia Video Playback directory)

VideoPlaybackController.cs

VideoPlaybackBehaviour.cs

 

In particular, the VideoPlayerHelper script is the one that contains a Play() method, which takes a boolean argument to specify whether you want to play fullscreen or not.

 

How auto / full screen video?

July 19, 2013 - 11:09pm #8

davie8181 wrote:

http://i.imgur.com/on89CHu.png

Here you can see in unity I can't find any "FullscreenPlayback"
And sorry about that I have'n say that I was used the Unity To programming.
So , I the Unity what can I do/Find?

HELP! Does Anyone could Help me?

How auto / full screen video?

July 19, 2013 - 5:28am #7

http://i.imgur.com/on89CHu.png

Here you can see in unity I can't find any "FullscreenPlayback"
And sorry about that I have'n say that I was used the Unity To programming.
So , I the Unity what can I do/Find?

How auto / full screen video?

July 16, 2013 - 6:36am #6

The relelvant code to handle fullscreen video in Android is in the file FullscreenPlayback.java;

also, look at all the references of the FullscreenPlayback class (in Eclipse, you can easily do that by right-clicking on the class name and select "References -> Project");

this should allow to identify all the code paths where this is used.

 

How auto / full screen video?

July 16, 2013 - 4:23am #5

HELP! Does anyone know how to full screen playback video?????

How auto / full screen video?

July 14, 2013 - 8:33pm #4

So, How to programming achieve?

How auto / full screen video?

July 14, 2013 - 12:40am #3

Hi, concerning your first few questions, these require just a little bit of programming to achieve the intended applciation logic.

Concerning this question:

And In the Android tablet "Video Playback" have a provlem, If i press "PLAY" Shique it would becomes full screenmode, Does any ones know why or how to fix it?

This is probably due to the fact that the specific Android tablet you are using is running an Android OS version which is lower than 4.0; in that case, videos can only be played in fullscreen mode;  if you want to have the video-on-texture, then you need to use a device with an Android version which is at least 4.0 (ICS).

See also this page:

https://developer.vuforia.com/forum/faq/videoplayback-what-videos-can-i-play-what-platform

 

 

How auto / full screen video?

July 13, 2013 - 12:40pm #2

Does Anyone could Help me?

Log in or register to post comments