Play or transfer content from a standard player to VrVideoView

I have an Android app that plays live / vod content using QuickPlay.

This QuickPlay player / controller is configured to use ExoPlayer.

I did not write this application, but asked to add Play in VR functionality .

This may be Cardboard, DayDreamor GearVRdoes not matter.

I found Google's SimplyVrVideoActivity Example ,

In this example, you VrWidgetViewcan get 2 types of input:

  • mVrVideoView.loadVideoFromAsset (LoaclAsset.mp4, options)
  • mVrVideoView.loadVideo (Uri, options)

What if I just want to quit already playing content on this VrVideoView, any ideas?

+4
source share

Source: https://habr.com/ru/post/1666146/


All Articles