Configuring the Manifest
You need to set up the following permissions for your app.
To enable video playback, set the permission to access the Internet:
<uses-permission android:name="android.permission.INTERNET" />
To enable saving video screenshots from the player to a SD-card, set the permission to write to an external storage:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
To keep the state of pause and the currently played place when the screen rotated, add the line
android:configChanges="orientation|screenSize"
to the declaration of an Activity
to which you add FlussonicWatcherView
.
With this line, the Activity
will not be re-created when the device is rotated.