File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 22
33All changes to this project will be documented in this file.
44
5+ ## [ 1.2.32] - 2024-07-16
6+
7+ - Add ` isFullScreen ` in ` fullscreenchange ` event
8+
59## [ 1.2.31] - 2024-06-19
610
711- Add ESM target
Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ Available events are the following:
450450| ended | The playback as reached the ended of the video | - |
451451| error | An error occured | - |
452452| firstplay | The video started to play for the first time | - |
453- | fullscreenchange | The player goes to (or goes back from) full screen | - |
453+ | fullscreenchange | The player goes to (or goes back from) full screen | ` { isFullScreen: boolean } ` |
454454| mouseenter | The user's mouse entered the player area | - |
455455| mouseleave | The user's mouse leaved the player area | - |
456456| pause | The video has been paused | - |
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ type PlayerSdkEvent = {
6868 ended : ( ) => void ;
6969 error : ( ) => void ;
7070 firstplay : ( ) => void ;
71- fullscreenchange : ( ) => void ;
71+ fullscreenchange : ( isFullScreen : boolean ) => void ;
7272 mouseenter : ( ) => void ;
7373 mouseleave : ( ) => void ;
7474 pause : ( ) => void ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @api.video/player-sdk" ,
3- "version" : " 1.2.31 " ,
3+ "version" : " 1.2.32 " ,
44 "description" : " api.video player SDK" ,
55 "repository" : {
66 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments