Assalamualaikum..
Seperti biasanya saya membuat tutorial cara membuat aplikasi android dengan Kodular | (MIT App Inventor,Appybuilder,Thunkable dll)
Nah pada kali ini saya membuat tutorial RU-vid Player - Kodular | (MIT App Inventor,Appybuilder,Thunkable)
✔️Donasi (Support Channel)
🔸️ Dana / LinkAja / OVO / GoPay 👉 saweria.co/kel...
✔️Terima Jasa
🔸️ Jasa pembuatan aplikasi 👉 bit.ly/3ABab6M
🔸️ Jasa upload aplikasi ke playstore 👉 bit.ly/3ce47rs
✔️Social Media
🔸️ Instagram 👉 / ahmadnasril2020
🔸️ Facebook 👉 / ahmadnasril2020
🔸️ fanspage 👉 kelaskod...
✔️Group / Cummunity
🔸️ Kodular Community 👉 community.kodu...
🔸️ Facebook 👉 / komunitaskodularindonesia
🔸️ Telegram 👉 t.me/komunitas...
🔸️ Whatsapp 👉 chat.whatsapp....
- OVERVIEW
A visible component that plays RU-vid videos.
Note: For this component to work correctly, set the MIN API to 17 (Android 4.2).
- EVENTS
Error
Use this event to detect that there was any error with the player. Return values: 'UNKNOWN', 'INVALID_PARAMETER_IN_REQUEST', 'HTML_5_PLAYER', 'VIDEO_NOT_FOUND', 'VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER', 'INVALID_VOLUME' or 'INVALID_SEEK_TO'.
Fullscreen
Event to get notified when the player enters or exits fullscreen. The variable 'fullscreen' returns true or false.
Initialized
Use this event to start the playing of a normal or instant youtube video.
Playback Quality Changed
Use this event to detect that the playback quality was changed. Return values: 'UNKNOWN', 'SMALL', 'MEDIUM', 'LARGE', 'HD720', 'HD1080', 'HIGH_RES' or 'DEFAULT'.
Playback Rate Changed
Use this event to detect that the playback rate was changed. Return values: 'UNKNOWN', 'RATE_0_25', 'RATE_0_5', 'RATE_1', 'RATE_1_5' or 'RATE_2'.
State Changed
Use this event to detect that the state changes. Return values: 'UNKNOWN', 'UNSTARTED', 'ENDED', 'PLAYING', 'PAUSED', 'BUFFERING' or 'VIDEO_CUED'.
- METHODS
Enter Fullscreen
Enter the video in fullscreen mode.
Exit Fullscreen
Exit the video from fullscreen mode.
Get Thumbnail From Video Id
This block will return the thumbnail image path from a video id. Use only as example '_bZj-LOXdH8' from a youtube video.
Instant Load
Use this block together with the 'RU-vid Player' Initialized event. Loads and automatically plays the specified youtube video. Use only as example '_bZj-LOXdH8' from a youtube video.
Load
Loads the specified video's thumbnail and prepares the player to play the video. Does not automatically play the video. Use only as example '_bZj-LOXdH8' from a youtube video.
Pause
Pause the youtube video.
Play
Plays the youtube video.
Seek To
Set a position where the youtube video should start playing in seconds.
Toggle Fullscreen
Toggle the state of the video player.
- PROPERTIES
Enable Live Video UI
If you want to play live videos you must setup the UI accordingly, by calling this method. If enabled, the user can not select a second on the video progress bar.
Get Current Second
Returns the current second.
Get Video Duration
Returns the video duration in seconds.
Height
Specifies the component's vertical height, measured in pixels.
Height Percent
Specifies the component's vertical height as a percentageof the height of its parent Component.
Is Fullscreen
Returns true if the player is in fullscreen mode.
Start Second
The time from which the video should start playing.
Test Video Id
Use this block to test the youtube player. Powered by Kodular.io
Visible
Returns true iff the component is visible.
Volume
Set the volume to a number between 0 and 100.Use only integer numbers.
Width
Specifies the component's horizontal width, measured in pixels.
Width Percent
Specifies the component's horizontal width as a percentageof the Width of its parent Component.
Semoga tutorialnya bermanfaat
wassalam
#Kodular
#MitAppInventor
#Appybuilder
#Thunkable
#AhmadNasril
21 сен 2024