You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/mux-player-react/REFERENCE.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,8 @@
17
17
|`hotkeys`|`string` (space separated enum list) | Similar to `className`, a space-separated string blocklist of keyboard shortcuts (hotkeys) you want to disable. Based on [Media Chrome's implementation](https://media-chrome-docs.vercel.app/en/keyboard-shortcuts)|`''`|
18
18
|`nohotkeys`|`boolean`| Toggles keyboard shortcut (hot keys) support when focus in inside the player |`false`|
19
19
|`thumbnailTime`|`number` (seconds) |[Time offset](https://docs.mux.com/guides/video/get-images-from-a-video#thumbnail-query-string-parameters) for the default `poster` image based on your `playback-id`. If no `thumbnail-time` is specified, `start-time` will be used by default. NOTE: This feature currently cannot be used with `token.thumbnail`. |`0`|
20
-
|`title`|`string`| Title text to show for your content in the Mux Player UI. |`""`|
20
+
|`title`|`string`| Title text to show for your content in the Mux Player UI. In most browsers the `title` attribute causes a tooltip on hover. Use `videoTitle` to prevent the tooltip. |`""`|
21
+
|`videoTitle`|`string`| Title text to show for your content in the Mux Player UI without causing a tooltip. |`""`|
21
22
|`placeholder`|`string` (URI) | Image to show as various assets load. Typically a [data URI](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs) when used | N/A |
22
23
|`primaryColor`|`string` (Any valid CSS color style) | The primary color used by the player's UI |`undefined`|
23
24
|`secondaryColor`|`string` (Any valid CSS color style) | The secondary color used by the player's UI |`undefined`|
Copy file name to clipboardExpand all lines: packages/mux-player/REFERENCE.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,8 @@
52
52
|`hotkeys`|[`DOMTokenList`](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList) (space separated enum list) | A blocklist of keyboard shortcuts (hotkeys) you want to disable. Based on [Media Chrome's implementation](https://media-chrome-docs.vercel.app/en/keyboard-shortcuts)| N/A |
53
53
|`playbackrates`|`number[]` (space separated list) | A space separated string of playback rates used by the playback rate button. | N/A |
54
54
|`default-show-remaining-time`|`boolean`| Show remaining playback time (instead of current playback time) by default |`false`|
55
-
|`title`|`string`| Title text to show for your content in the Mux Player UI. |`""`|
55
+
|`title`|`string`| Title text to show for your content in the Mux Player UI. In most browsers the `title` attribute causes a tooltip on hover. Use `video-title` to prevent the tooltip. |`""`|
56
+
|`video-title`|`string`| Title text to show for your content in the Mux Player UI without causing a tooltip. |`""`|
56
57
|`placeholder`|`string` (URI) | Image to show as various assets load. Typically a [data URI](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs) when used | N/A |
57
58
|`cast-receiver`|`string` (Receiver ID) | The app ID to use for a custom [Google cast receiver](https://developers.google.com/cast/docs/web_receiver/basic). If none is provided, the default receiver app will be used. | N/A |
58
59
|`no-tooltips`|`boolean`| Toggles disabling tooltips in the UI |`false`|
@@ -113,7 +114,8 @@
113
114
|`hotkeys` <sub><sup>Read only\*</sup></sub> |[`DOMTokenList`](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList)| A `DOMTokenList` (similar to [`classList`](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList)) blocklist of keyboard shortcuts (hotkeys) you want to disable. Based on [Media Chrome's implementation](https://media-chrome-docs.vercel.app/en/keyboard-shortcuts)|`''`|
114
115
|`nohotkeys`|`boolean`| Toggles keyboard shortcut (hot keys) support when focus in inside the player |`false`|
115
116
|`thumbnailTime`|`number` (seconds) |[Time offset](https://docs.mux.com/guides/video/get-images-from-a-video#thumbnail-query-string-parameters) for the default `poster` image based on your `playback-id`. If no `thumbnail-time` is specified, `start-time` will be used by default. NOTE: This feature currently cannot be used with `thumbnail-token`. |`0`|
116
-
|`title`|`string`| Title text to show for your content in the Mux Player UI. |`""`|
117
+
|`title`|`string`| Title text to show for your content in the Mux Player UI. In most browsers the `title` attribute causes a tooltip on hover. Use `videoTitle` to prevent the tooltip. |`""`|
118
+
|`videoTitle`|`string`| Title text to show for your content in the Mux Player UI without causing a tooltip. |`""`|
117
119
|`placeholder`|`string` (URI) | Image to show as various assets load. Typically a [data URI](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs) when used | N/A |
118
120
|`primaryColor`|`string` (Any valid CSS color style) | The primary color used by the player's UI |`undefined`|
119
121
|`secondaryColor`|`string` (Any valid CSS color style) | The secondary color used by the player's UI |`undefined`|
0 commit comments