@jwplayer/jwplayer-react-native 1.1.1 → 1.1.2
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/android/build.gradle
CHANGED
package/badges/version.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="90" height="20" role="img" aria-label="version: 1.1.
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="90" height="20" role="img" aria-label="version: 1.1.2"><title>version: 1.1.2</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="90" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="51" height="20" fill="#555"/><rect x="51" width="39" height="20" fill="#007ec6"/><rect width="90" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="265" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="410">version</text><text x="265" y="140" transform="scale(.1)" fill="#fff" textLength="410">version</text><text aria-hidden="true" x="695" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="290">1.1.2</text><text x="695" y="140" transform="scale(.1)" fill="#fff" textLength="290">1.1.2</text></g></svg>
|
|
@@ -318,11 +318,13 @@ class RNJWPlayerView: UIView, JWPlayerDelegate, JWPlayerStateDelegate,
|
|
|
318
318
|
self.deinitAudioSession()
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
+
// Pull out top level iOS DRM values from config if present
|
|
322
|
+
// This is most often used in non-legacy configs using JWP DRM solutions
|
|
323
|
+
processSpcUrl = config["processSpcUrl"] as? String
|
|
324
|
+
fairplayCertUrl = config["certificateUrl"] as? String
|
|
325
|
+
contentUUID = config["contentUUID"] as? String
|
|
326
|
+
|
|
321
327
|
if forceLegacyConfig == true {
|
|
322
|
-
// Pull from top level of config
|
|
323
|
-
processSpcUrl = config["processSpcUrl"] as? String
|
|
324
|
-
fairplayCertUrl = config["certificateUrl"] as? String
|
|
325
|
-
contentUUID = config["contentUUID"] as? String
|
|
326
328
|
|
|
327
329
|
// Dangerous: check playlist for processSpcUrl / fairplayCertUrl in playlist
|
|
328
330
|
// Only checks first playlist item as multi-item DRM playlists are ill advised
|
|
@@ -338,7 +340,6 @@ class RNJWPlayerView: UIView, JWPlayerDelegate, JWPlayerStateDelegate,
|
|
|
338
340
|
}
|
|
339
341
|
}
|
|
340
342
|
} else {
|
|
341
|
-
// TODO -- Ensure JWJSONParser pulls out cert/spc for sources (Expected in JW iOS SDK v4.19.0)
|
|
342
343
|
}
|
|
343
344
|
|
|
344
345
|
do {
|