-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-19040] :Replace MPMoviePlayerController in Ti.Media.VideoPlayer with AVPlayerViewController #8721
[TIMOB-19040] :Replace MPMoviePlayerController in Ti.Media.VideoPlayer with AVPlayerViewController #8721
Changes from 46 commits
282ebef
8673080
746f1c7
d8e8a32
6f35822
923cb51
c48fd4e
d0bec83
49e9210
ae29a97
d5e62d6
70d2990
5ad6fa9
f5589c4
e5651d9
f2a7575
e2d934e
1ca221b
b2ccd83
9dc5fec
bff3571
5ad1550
b420867
e18eb16
28503a8
0539dc9
1010932
e4375e0
d5075a2
89085e8
fd063a5
942c9ef
c0dff04
5e563f3
d348213
8212744
1e3809d
7716bbc
cf93d99
82f6805
5fd0bd8
f5e9068
a8a0e18
446f703
5554f12
3ea12ad
30ba65f
9f1795a
21a2c7e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1176,6 +1176,10 @@ properties: | |
type: Number | ||
permission: read-only | ||
- name: VIDEO_CONTROL_DEFAULT | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Constant for default video controls. | ||
description: | | ||
Used in conjunction with the | ||
|
@@ -1184,6 +1188,10 @@ properties: | |
type: Number | ||
permission: read-only | ||
- name: VIDEO_CONTROL_EMBEDDED | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Constant for video controls for an embedded view. | ||
description: | | ||
Used in conjunction with the | ||
|
@@ -1196,6 +1204,10 @@ properties: | |
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
- name: VIDEO_CONTROL_FULLSCREEN | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Constant for fullscreen video controls. | ||
description: | | ||
Used in conjunction with the | ||
|
@@ -1265,17 +1277,30 @@ properties: | |
type: Number | ||
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
- name: VIDEO_LOAD_STATE_FAILED | ||
summary: Indicates that the player can no longer play AVPlayerItem instances because of an error. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Titanium users have no idea what a |
||
type: Number | ||
permission: read-only | ||
platforms: [iphone, ipad] | ||
- name: VIDEO_LOAD_STATE_PLAYABLE | ||
summary: Current media is playable. | ||
type: Number | ||
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
- name: VIDEO_LOAD_STATE_PLAYTHROUGH_OK | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Playback will be automatically started in this state when `autoplay` is true. | ||
type: Number | ||
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
- name: VIDEO_LOAD_STATE_STALLED | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Playback will be automatically paused in this state, if started. | ||
type: Number | ||
permission: read-only | ||
|
@@ -1286,16 +1311,28 @@ properties: | |
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
- name: VIDEO_MEDIA_TYPE_AUDIO | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: A audio type of media in the movie returned by <Titanium.Media.VideoPlayer> `mediaTypes` property. | ||
type: Number | ||
permission: read-only | ||
platforms: [iphone, ipad] | ||
- name: VIDEO_MEDIA_TYPE_NONE | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: An unknown type of media in the movie returned by <Titanium.Media.VideoPlayer> `mediaTypes` property. | ||
type: Number | ||
permission: read-only | ||
platforms: [iphone, ipad] | ||
- name: VIDEO_MEDIA_TYPE_VIDEO | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: A video type of media in the movie returned by <Titanium.Media.VideoPlayer> `mediaTypes` property. | ||
type: Number | ||
permission: read-only | ||
|
@@ -1331,18 +1368,30 @@ properties: | |
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
- name: VIDEO_REPEAT_MODE_NONE | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Constant for disabling repeat on video playback. | ||
type: Number | ||
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
since: {android: "6.2.0", iphone: "0.9.0", ipad: "0.9.0"} | ||
- name: VIDEO_REPEAT_MODE_ONE | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Constant for repeating one video (i.e., the one video will repeat constantly) during playback. | ||
type: Number | ||
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
since: {android: "6.2.0", iphone: "0.9.0", ipad: "0.9.0"} | ||
- name: VIDEO_SCALING_ASPECT_FILL | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Scale video to fill the screen, clipping edges if necessary. | ||
description: | | ||
Video is scaled until the video fills the entire screen. Content at the edges | ||
|
@@ -1352,6 +1401,10 @@ properties: | |
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
- name: VIDEO_SCALING_ASPECT_FIT | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Scale video to fit the screen, letterboxing if necessary. | ||
description: | | ||
Video is scaled until the larger dimension fits on the screen exactly. In the | ||
|
@@ -1361,30 +1414,68 @@ properties: | |
permission: read-only | ||
|
||
- name: VIDEO_SCALING_MODE_FILL | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Video is scaled until both dimensions fit the screen exactly, stretching if necessary. | ||
description: | | ||
The aspect ratio of the video is not preserved. | ||
type: Number | ||
permission: read-only | ||
platforms: [android, iphone, ipad] | ||
- name: VIDEO_SCALING_NONE | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Video scaling is disabled. | ||
type: Number | ||
permission: read-only | ||
- name: VIDEO_SCALING_RESIZE | ||
summary: Specifies that the video should be stretched to fill the layer’s bounds. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated. |
||
type: String | ||
permission: read-only | ||
platforms: [iphone, ipad]VIDEO_MEDIA_TYPE_NONE | ||
since: '7.0.0' | ||
- name: VIDEO_SCALING_RESIZE_ASPECT | ||
summary: Specifies that the player should preserve the video’s aspect ratio and fit the video within the layer’s bounds. | ||
type: String | ||
permission: read-only | ||
platforms: [iphone, ipad] | ||
since: '7.0.0' | ||
- name: VIDEO_SCALING_RESIZE_ASPECT_FILL | ||
summary: Specifies that the player should preserve the video’s aspect ratio and fill the layer’s bounds. | ||
type: String | ||
permission: read-only | ||
platforms: [iphone, ipad] | ||
since: '7.0.0' | ||
|
||
- name: VIDEO_SOURCE_TYPE_FILE | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Video source type is a file. | ||
description: Related to the `sourceType` property of <Titanium.Media.VideoPlayer>. | ||
type: Number | ||
permission: read-only | ||
platforms: [iphone, ipad] | ||
- name: VIDEO_SOURCE_TYPE_STREAMING | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Video source type is a remote stream. | ||
description: Related to the `sourceType` property of <Titanium.Media.VideoPlayer> | ||
type: Number | ||
permission: read-only | ||
platforms: [iphone, ipad] | ||
- name: VIDEO_SOURCE_TYPE_UNKNOWN | ||
deprecated: | ||
since: '7.0.0' | ||
notes: This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple. | ||
removed: '7.0.0' | ||
summary: Video source type is unknown. | ||
description: Related to the `sourceType` property of <Titanium.Media.VideoPlayer> | ||
type: Number | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are single quotes ok in the docs? We usually use
"
. Please validate the docs locally again. cc @jawa9000There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very few places single quotes are there. I updated to ".