-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a356a18
commit 0cf0993
Showing
12 changed files
with
125 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
reelsplayer/src/main/java/com/shahid/iqbal/reelsplayer/actions/RepeatMode.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
package com.shahid.iqbal.reelsplayer.actions | ||
|
||
enum class RepeatMode { CURRENT, ALL } | ||
/** | ||
* Class defining the repeat modes for video. | ||
* | ||
* @property CURRENT Repeats the current video . | ||
* @property ALL Plays all videos in the list sequentially and repeats from the beginning when the end is reached. | ||
*/ | ||
enum class RepeatMode { | ||
CURRENT, | ||
ALL | ||
} |
10 changes: 9 additions & 1 deletion
10
reelsplayer/src/main/java/com/shahid/iqbal/reelsplayer/actions/ThumbnailDisplayMode.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
package com.shahid.iqbal.reelsplayer.actions | ||
|
||
/** | ||
*Class defining the different modes for displaying video thumbnails. | ||
* | ||
* @property OFF Thumbnails are not displayed. | ||
* @property FIT Thumbnails are scaled to fit within the display area, maintaining aspect ratio. | ||
* @property FILL Thumbnails are scaled to fill the display area, potentially cropping the image. | ||
*/ | ||
|
||
enum class ThumbnailDisplayMode { | ||
OFF, FIT, FILL | ||
} | ||
} |
9 changes: 8 additions & 1 deletion
9
reelsplayer/src/main/java/com/shahid/iqbal/reelsplayer/actions/VideoScalingMode.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
package com.shahid.iqbal.reelsplayer.actions | ||
|
||
|
||
/** | ||
* Class defining the scaling modes for displaying video content. | ||
* | ||
* @property DEFAULT Uses the default scaling behavior, which may vary based on the player implementation. | ||
* @property FIT Scales the video to fit within the player's bounds while maintaining the aspect ratio. | ||
* @property FIT_WITH_CROPPING Scales the video to fill the player's bounds, which may involve cropping parts of the video. | ||
*/ | ||
enum class VideoScalingMode { | ||
DEFAULT, FIT, FIT_WITH_CROPPING | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters