Skip to content

Commit 9270278

Browse files
committed
chromecast integrated
1 parent 9c4f5e6 commit 9270278

24 files changed

+1644
-241
lines changed

CHANGELOG.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,30 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.0.2] - 2025-04-29
6+
7+
### Beta Feature: Chromecast Integration
8+
9+
- **Initial Chromecast Support (Beta)**: Added foundational support for Google Chromecast. This includes:
10+
- Chromecast session detection and management.
11+
- Remote playback toggling with fallback to local player.
12+
- Volume and mute sync between player and Chromecast.
13+
- Session cleanup on load and playback resume logic.
14+
515
## [1.0.1]
616

17+
### Enhancements & Bug Fixes:
18+
19+
- **PIP Control Removed in Firefox Mobile**: Fixed an issue where the Picture-in-Picture (PIP) control was displayed on Firefox mobile browsers when it shouldn't be.
20+
- **Subtitle Menu UI Fixes**:
21+
- Fixed an issue where the subtitle menu was cropped, and scrolling was unavailable for videos with over 10 subtitles.
22+
- Ensured that if multiple subtitles exist, the list is scrollable and properly displayed in the UI.
23+
- **Subtitle Overlay Fix**: Resolved an issue where, after turning off subtitles, the background overlay remained visible instead of disappearing.
24+
- **Data Metrics Integration**: Added **Quality of Experience (QoE) scoring** in the FastPix dashboard, allowing users to monitor streaming quality.
25+
- **Enable Cache Busting (Beta)**: Introduced an experimental **cache-busting** feature to ensure that when tracks are added dynamically, the player checks for an updated manifest.
26+
27+
## [1.0.0]
28+
729
### Initial Release:
830

931
- **Playback**: Introduced basic video playback functionality.
@@ -31,5 +53,3 @@ All notable changes to this project will be documented in this file.
3153
- **offline/online control**: Provided control mechanisms for offline/online scenarios.
3254
- **Title Display**: Implemented title display options for videos.
3355
- **Overriding Default Behaviors**: Allowed users to override default player behaviors.
34-
- **Data Metrics Integration**: Added **Quality of Experience (QoE) scoring** in the FastPix dashboard, allowing users to monitor streaming quality.
35-
- **Enable Cache Busting (Beta)**: Introduced an experimental **cache-busting** feature to ensure that when tracks are added dynamically, the player checks for an updated manifest.

README.md

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ To get started with the FastPix Player SDK we need some prerequisites, follow th
141141
To get started with the SDK, first install the FastPix Player SDK for Web, you can use npm or your favourite node package manager 😉:
142142

143143
```shell
144-
npm install @fastpix/fp-player
144+
npm install @fastpix/player
145145
```
146146

147147
# Basic Usage:
@@ -286,27 +286,33 @@ To honor users' privacy preferences regarding the 'Do Not Track' setting, set th
286286

287287
| **Context Attribute** | **Extracted Data Attribute** | **Description** |
288288
|--------------------------------------|-------------------------------|---------------------------------------------------------------------------------|
289-
| `metadata-workspace-key` | `workspace_id` | Unique identifier for the workspace. |
289+
| `metadata-workspace-id` | `workspace_id` | Unique identifier for the workspace. |
290290
| `metadata-video-title` | `video_title` | Title of the video being played. |
291291
| `metadata-viewer-user-id` | `viewer_id` | Identifier for the viewer watching the video. |
292-
| `metadata-video-id` | `video_id` | Unique ID of the video. |
293-
| `metadata-experiment-name` | `experiment_name` | Name of any ongoing experiment related to the video. |
294-
| `metadata-player-name` | `player_name` | Name of the video player being used. |
295-
| `metadata-player-version` | `player_version` | Version of the video player. |
296-
| `metadata-video-duration` | `video_duration` | Duration of the video in seconds. |
297-
| `metadata-view-session-id` | `view_session_id` | Session ID for the video viewing. |
298-
| `metadata-page-context` | `page_context` | Context of the page where the video is embedded. |
299-
| `metadata-sub-property-id` | `sub_property_id` | ID for any specific sub-property of the video. |
300-
| `metadata-video-content-type` | `video_content_type` | Type of video content (e.g., live or on-demand). |
301-
| `metadata-video-drm-type` | `video_drm_type` | Type of DRM (Digital Rights Management) used for the video. |
302-
| `metadata-video-encoding-variant` | `video_encoding_variant` | Encoding variant of the video, like resolution or bitrate. |
303-
| `metadata-video-language-code` | `video_language_code` | Language code of the video's audio (e.g., "en" for English). |
304-
| `metadata-video-producer` | `video_producer` | Producer or creator of the video content. |
305-
| `metadata-video-variant-name` | `video_variant_name` | Name of the specific video variant (e.g., resolution). |
306-
| `metadata-video-cdn` | `video_cdn` | CDN used to deliver the video content. |
307-
| `metadata-video-variant-id` | `video_variant_id` | Unique ID for the video variant. |
308-
| `metadata-video-series` | `video_series` | Series name or ID if the video is part of a series. |
309-
| `metadata-custom-1` to `metadata-custom-10` | `custom_1` to `custom_10` | Custom metadata attributes for additional information. |
292+
| `metadata-video-id` | `video_id` | Unique ID of the video. |
293+
| `metadata-experiment-name` | `experiment_name` | Name of any ongoing experiment related to the video. |
294+
| `metadata-player-name` | `player_name` | Name of the video player being used. |
295+
| `metadata-player-version` | `player_version` | Version of the video player. |
296+
| `metadata-video-duration` | `video_duration` | Duration of the video in seconds. |
297+
| `metadata-view-session-id` | `view_session_id` | Session ID for the video viewing. |
298+
| `metadata-page-context` | `page_context` | Context of the page where the video is embedded. |
299+
| `metadata-sub-property-id` | `sub_property_id` | ID for any specific sub-property of the video. |
300+
| `metadata-video-content-type` | `video_content_type` | Type of video content (e.g., live or on-demand). |
301+
| `metadata-video-drm-type` | `video_drm_type` | Type of DRM (Digital Rights Management) used for the video. |
302+
| `metadata-video-encoding-variant` | `video_encoding_variant` | Encoding variant of the video, like resolution or bitrate. |
303+
| `metadata-video-language-code` | `video_language_code` | Language code of the video's audio (e.g., "en" for English). |
304+
| `metadata-video-producer` | `video_producer` | Producer or creator of the video content. |
305+
| `metadata-video-variant-name` | `video_variant_name` | Name of the specific video variant (e.g., resolution). |
306+
| `metadata-video-cdn` | `video_cdn` | CDN used to deliver the video content. |
307+
| `metadata-cdn` | `cdn` | Content Delivery Network used in the video delivery. |
308+
| `metadata-video-variant-id` | `video_variant_id` | Unique ID for the video variant. |
309+
| `metadata-video-series` | `video_series` | Series name or ID if the video is part of a series. |
310+
| `metadata-custom-1` to `metadata-custom-10` | `custom_1` to `custom_10` | Custom metadata attributes for additional information. |
311+
| `metadata-browser-name` | `browser_name` | Name of the browser used to watch the video. |
312+
| `metadata-os-name` | `os_name` | Operating system used to view the video (e.g., Windows, macOS). |
313+
| `metadata-os-version` | `os_version` | Version of the operating system. |
314+
| `metadata-player-init-time` | `player_init_time` | Time taken to initialize the video player. |
315+
| `stream-type` | `video_stream_type` | Type of stream (e.g., live or VOD). |
310316

311317
### Explanation of Attributes
312318

@@ -335,7 +341,7 @@ To utilize the experimental cache-busting feature, include the `enable-cache-bus
335341
```
336342
**Note**: This feature is currently in beta and may be deprecated in future releases.
337343

338-
For comprehensive documentation and advanced usage, visit the (FastPix Player Documentation)[https://docs.fastpix.io/docs/overview-and-features].
344+
For comprehensive documentation and advanced usage, visit the FastPix Player Documentation[https://docs.fastpix.io/docs/overview-and-features].
339345

340346
Enhance your web applications with FastPix Player's seamless streaming and extensive customization options.
341347

0 commit comments

Comments
 (0)