Skip to content

Add cast feature new#3

Open
mahdishahbazi3653 wants to merge 21 commits intomainfrom
add_cast_feature_new
Open

Add cast feature new#3
mahdishahbazi3653 wants to merge 21 commits intomainfrom
add_cast_feature_new

Conversation

@mahdishahbazi3653
Copy link
Copy Markdown

No description provided.

mashahbazi and others added 17 commits December 2, 2022 10:56
* Send video default subtitle back throw eventSink in Android

* add subtitle event type to video_player interface

* Convert event subtitle from eventSink to subtitle VideoEvent in Android

* add subtitle to video player value and fill in case of receiving subtitle event

* select default subtitle from available subtitles

* add getEmbeddedSubtitles to interface

* call getEmbeddedSubtitles in Android platform channel

* add texture id to getEmbeddedSubtitle

* handle getting subtitle on Android Native

* add setEmbeddedSubtitles to interface

* call setEmbeddedSubtitles platform method on Native Android

* handle setSubtitle on Andorid Native

* handle get subtitle on iOS

* handle setEmbeddedSubtitle on iOS

* stream subtitle using video controller caption

* add documentations

* add unit test for get and set subtitle on Android

* add unit test for get and set subtitle on iOS

* show caption on all position is embedded subtitle selected

* add embeddedSubtitleSelected to interface

* update documentations based on PR

Co-authored-by: Mahdi Shahbazi <mahdishahbazi3653@yahoo.com>
# Conflicts:
#	packages/video_player/video_player/lib/video_player.dart
#	packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/Messages.java
#	packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java
#	packages/video_player/video_player_android/lib/src/android_video_player.dart
#	packages/video_player/video_player_android/lib/src/messages.g.dart
#	packages/video_player/video_player_android/pigeons/messages.dart
#	packages/video_player/video_player_android/test/android_video_player_test.dart
#	packages/video_player/video_player_android/test/test_api.dart
#	packages/video_player/video_player_avfoundation/ios/Classes/FLTVideoPlayerPlugin.m
#	packages/video_player/video_player_avfoundation/ios/Classes/messages.g.h
#	packages/video_player/video_player_avfoundation/ios/Classes/messages.g.m
#	packages/video_player/video_player_avfoundation/lib/src/avfoundation_video_player.dart
#	packages/video_player/video_player_avfoundation/lib/src/messages.g.dart
#	packages/video_player/video_player_avfoundation/pigeons/messages.dart
#	packages/video_player/video_player_avfoundation/test/avfoundation_video_player_test.dart
#	packages/video_player/video_player_avfoundation/test/test_api.dart
#	packages/video_player/video_player_platform_interface/lib/video_player_platform_interface.dart
* add enter pip method to video player controller

* handle enter picture in picture on iOS native

* handle enter picture in picture in Android native

* update video player controller isPictureInPictureEnabled from native android

* send state update from iOS to Flutter

* fix merge conflict issues

* add documentation and clean code

* add unit tests

* check error on calling enter picture in picture

* fix ios crash on press back in pip

* add setStartPictureInPictureAutomatically to video player for iOS specific

---------

Co-authored-by: Mahdi Shahbazi <mahdishahbazi3653@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants