|
|
@@ -367,17 +367,27 @@ The library use `DefaultIJKControllerWidget` to build the widget.
|
|
|
|
|
|
This class provides some properties for customization. All properties except `controller` are optional:
|
|
|
|
|
|
-| name | type | default | desc |
|
|
|
-| :-------------------------------: | :------------------------: | :----------------------: | :----------------------------------------------------------------------------: |
|
|
|
-| doubleTapPlay | bool | false | doubleTap gesture switch |
|
|
|
-| verticalGesture | bool | true | vertical gesture switch |
|
|
|
-| horizontalGesture | bool | true | horizontal gesture switch |
|
|
|
-| volumeType | VolumeType | VolumeType.system | vertical gesture changes the type of sound (system,media) |
|
|
|
-| playWillPauseOther | bool | true | play the video will pause other medias |
|
|
|
-| currentFullScreenState | bool | false | **If you are customizing the full screen interface, this must be set to true** |
|
|
|
-| showFullScreenButton | bool | true | Whether to display the full screen button |
|
|
|
-| fullscreenControllerWidgetBuilder | IJKControllerWidgetBuilder | | Can customize the full screen interface |
|
|
|
-| fullScreenType | FullScreenType | FullScreenType.rotateBox | Full screen type (rotate screen, or use RotateBox) |
|
|
|
+| name | type | default | desc |
|
|
|
+| :-------------------------------: | :------------------------: | :----------------------: | :------------------------------------------------------------------------------------: |
|
|
|
+| doubleTapPlay | bool | false | doubleTap gesture switch |
|
|
|
+| verticalGesture | bool | true | vertical gesture switch |
|
|
|
+| horizontalGesture | bool | true | horizontal gesture switch |
|
|
|
+| volumeType | VolumeType | VolumeType.system | vertical gesture changes the type of sound (system,media) |
|
|
|
+| playWillPauseOther | bool | true | play the video will pause other medias |
|
|
|
+| currentFullScreenState | bool | false | **If you are customizing the full screen interface, this must be set to true** |
|
|
|
+| showFullScreenButton | bool | true | Whether to display the full screen button |
|
|
|
+| fullscreenControllerWidgetBuilder | IJKControllerWidgetBuilder | | Can customize the full screen interface |
|
|
|
+| fullScreenType | FullScreenType | FullScreenType.rotateBox | Full screen type (rotate screen, or use RotateBox) |
|
|
|
+| hideSystemBarOnFullScreen | bool | true | Auto hide status bar on full screen, and show status bar on exit. (Extra desciption 1) |
|
|
|
+| onFullScreen | void Function(bool) | null | Callback on full screen. true is enter, false is exit. |
|
|
|
+
|
|
|
+**Extra desciption 1**:
|
|
|
+On ios, you must add or edit a property:
|
|
|
+
|
|
|
+```xml
|
|
|
+<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
|
+<true/>
|
|
|
+```
|
|
|
|
|
|
### Build widget from IjkStatus
|
|
|
|