@raydiant/playlist-window-manager 0.29.1-rc1 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/preload.js +3 -1
- package/package.json +1 -1
- package/src/preload.ts +3 -1
package/build/preload.js
CHANGED
|
@@ -92,7 +92,9 @@ Object.defineProperty(window, 'removeEventListener', {
|
|
|
92
92
|
// Hide the Cast button on video elements to prevent casting from the device.
|
|
93
93
|
// After trying many different approaches including flags, chrome policies and
|
|
94
94
|
// blocking ports, the only reliable way to hide the Cast button is via CSS without
|
|
95
|
-
// updating every video element with disableRemotePlayback.
|
|
95
|
+
// updating every video element with disableRemotePlayback. This issue has only been
|
|
96
|
+
// observed on older devices like the IntelComputeStick and Vivostick, not newer devices
|
|
97
|
+
// like the N100 or NUC.
|
|
96
98
|
window.addEventListener('DOMContentLoaded', function () {
|
|
97
99
|
var style = document.createElement('style');
|
|
98
100
|
style.textContent = "\n video::-internal-media-controls-overlay-cast-button {\n display: none !important;\n }\n ";
|
package/package.json
CHANGED
package/src/preload.ts
CHANGED
|
@@ -110,7 +110,9 @@ Object.defineProperty(window, 'removeEventListener', {
|
|
|
110
110
|
// Hide the Cast button on video elements to prevent casting from the device.
|
|
111
111
|
// After trying many different approaches including flags, chrome policies and
|
|
112
112
|
// blocking ports, the only reliable way to hide the Cast button is via CSS without
|
|
113
|
-
// updating every video element with disableRemotePlayback.
|
|
113
|
+
// updating every video element with disableRemotePlayback. This issue has only been
|
|
114
|
+
// observed on older devices like the IntelComputeStick and Vivostick, not newer devices
|
|
115
|
+
// like the N100 or NUC.
|
|
114
116
|
window.addEventListener('DOMContentLoaded', () => {
|
|
115
117
|
const style = document.createElement('style');
|
|
116
118
|
style.textContent = `
|