(FREE) YTEmbededPro V2 – Player Fixed Advanced YouTube Player Extension

:television: YTEmbededPro is a feature-rich YouTube embedded player extension built for App Inventor, Kodular and other AI2-based platforms.
It allows developers to seamlessly integrate YouTube videos with customizable controls, fullscreen handling, autoplay, looping, mute/unmute, and advanced playback management.

With support for both in-layout embedding and fullscreen requests, YTEmbededPro ensures smooth video playback inside your app.

:backhand_index_pointing_right: Demo & Tutorials: Rajaks Gyan YouTube – Subscribe to get future Pro-level extensions!

:sparkles: Key Features

:clapper_board: Embed YouTube videos directly in your layouts.

:counterclockwise_arrows_button: Play, pause, stop, seek, and control playback speed.

:satellite_antenna: Events for buffering, playback progress, fullscreen enter/exit, and errors.

:control_knobs: Toggle autoplay, loop, mute, and related video visibility.

:wrench: Get duration, current play time, and generate YouTube share URLs.

:mobile_phone: Smooth fullscreen transition support.




:high_voltage: Perfect for apps that require media streaming, e-learning, tutorials, or entertainment content.

Downlod Extension V1 :-
YTEmbededPro.aix (38.2 KB)

Version 2 :-
V2_YTEmbedded.aix (39.5 KB)

8 Likes

How to hide channel title and share button

Change Log (v2 – YTEmbedded Pro)

:fire: New Advanced Controls Added

:check_mark: NextVideo / PreviousVideo playlist navigation added
:check_mark: Playback Speed Controller improved (smooth + accurate speed change)
:check_mark: Seekbar Enable / Disable feature added (dynamic player rebuild)
:check_mark: ReloadPlayer() β€” instantly recreate player without reloading screen
:check_mark: ExternalOpen(url) β€” Share / external links now open via ActivityStarter (no WebView redirect)


:fire: Core Player Stability Improvements

:check_mark: Video playback error fully fixed (Error 4, blank screen, freeze etc.)
:check_mark: Faster loading + stable buffering
:check_mark: Native loader optimized (smaller size)


:fire: Fullscreen + UI Fixes

:check_mark: New immersive fullscreen mode
:check_mark: Status bar + navigation bar auto-restore on exit
:check_mark: Smooth transition between normal ↔ fullscreen

V2 :- https://rajaksgyan.in/Files/YTEmbededPro/V2_YTEmbedded.aix

Please Support On YouTube Rajaks Gyan

4 Likes

Your update for YTEmbedded Pro (v2) is genuinely impressive. The level of refinement in thi release clearly shows your dedication and deep understanding of the component. The advanced controls, dynamic playerr rebuild, and improved playback speed adjustments bring the experience much closer to a polished native player.

The stability enhancements, fixing playback errors, optimizing buffering, and reducing loader size, reflect excellent engineering work. The fullscreen and UI improvements also demonstrate strong attention to user experience and detai.

And honestly, updating and maintaining a free tool at this level is not easy. Your commitment to consistently improving it deserves real apreciation. Salute to your hard work and contribution to the community. :saluting_face:

2 Likes

This extension not working

It would be great if you show us your relevant blocks how you’re handling the blocks


Where am I wrong?

Add when play failed blocks to catch the errors with a label

and try adding a clock in the screen initialize so you can run the player procedure a few seconds after initialize

Step 1 :- Initialise The Player
Step 2 :- Inside The OnReady Event Put The Load Video By ID Block…

In this extension, share option enable, please disable it

YTEmbedded V17 – Change Log

:green_square: Blocks Added
Added LoadVideoWithTime(start, end) block
Added LoadPlaylist (Safe ID/URL parser)
Added SetShareEnabled block
Added SetVolume / GetVolume
Added GetVideoTitle / GetVideoAuthor
Added Shuffle, NextVideo, PreviousVideo improvements
Added formatted time output in OnProgress
Added OnVideoDetailsReceived(title, author) event

:blue_square: Improvements
Improved fullscreen mode (proper landscape + system bar restore)
Improved playlist stability and auto-loading
Improved loader UI (smaller, centered, smooth)
Better YouTube API initialization & event timing
Better redirect handling and URL interception

:red_square: Bugs Fixed
Fixed OnReady not firing correctly
Fixed Share / Watch on YouTube redirects opening inside player
Fixed Related Videos toggle not responding
Fixed external redirect issue across all views
Fixed video stuck at loading in some IDs
Fixed fullscreen exit keeping nav/status bar hidden.

Download v17 :- Rajaks Gyan

4 Likes