PageSourceSearch

https://www.tomorrow.city/wp-content/themes/tc/base/jwplayer-8.30.1/provider.airplay.js

js tomorrow.city collected 2026-10-02 03:06:27 UTC 2,516 bytes, 67 lines download raw bytes

1/*!
2   JW Player version 8.30.1
3   Copyright (c) 2023, JW Player, All Rights Reserved
4   This source code and its use and distribution is subject to the terms
5   and conditions of the applicable license agreement.
6   https://www.jwplayer.com/tos/
7   This product includes portions of other software. For the full text of licenses, see
8   https://ssl.p.jwpcdn.com/player/v/8.30.1/notice.txt
9*/
10'use strict';
11(self.webpackChunkjwplayer = self.webpackChunkjwplayer || []).push([
12  [520],
13  {
14    6342: (e, t, a) => {
15      a.r(t), a.d(t, { default: () => l });
16      var i = a(9888);
17      function l(e, t) {
18        let a = null;
19        const l = this,
20          c = function () {
21            t.set('castState', { available: t.get('castAvailable'), active: t.get('castActive') });
22          },
23          n = function (e) {
24            e &&
25              e.forEach(function (e) {
26                e.file = (0, i.getAbsolutePath)(e.file);
27              });
28          },
29          s = function (e) {
30            e && ((e.image = (0, i.getAbsolutePath)(e.image)), n(e.allSources), n(e.sources));
31          };
32        (l.updateAvailability = function (e) {
33          t.set('castAvailable', 'available' === e.availability), c();
34        }),
35          (l.updateActive = function () {
36            let i = !1;
37            a && (i = Boolean(a.webkitCurrentPlaybackTargetIsWireless)),
38              t.off('change:playlistItem', s),
39              i && (e.instreamDestroy(), s(t.get('playlistItem')), t.on('change:playlistItem', s)),
40              t.set('airplayActive', i),
41              t.set('castActive', i),
42              c();
43          }),
44          (l.airplayToggle = function () {
45            a && a.webkitShowPlaybackTargetPicker();
46          }),
47          t.change('itemReady', function () {
48            (a = null),
49              t.getVideo() && (a = t.getVideo().video),
50              a &&
51                (a.removeEventListener(
52                  'webkitplaybacktargetavailabilitychanged',
53                  l.updateAvailability,
54                ),
55                a.removeEventListener(
56                  'webkitcurrentplaybacktargetiswirelesschanged',
57                  l.updateActive,
58                ),
59                a.addEventListener('webkitplaybacktargetavailabilitychanged', l.updateAvailability),
60                a.addEventListener('webkitcurrentplaybacktargetiswirelesschanged', l.updateActive)),
61              l.updateAvailability({}),
62              l.updateActive();
63          });
64      }
65    },
66  },
67]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.