mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix variable
This commit is contained in:
parent
7a0e4c3dee
commit
45e6e16546
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ class CS3IPlayer : IPlayer {
|
|||
releasePlayer()
|
||||
if (link != null) {
|
||||
// only video and m3u8 support atm (DASH is untested)
|
||||
val isSupportedType == link.type == ExtractorLinkType.VIDEO || link.type == ExtractorLinkType.M3U8
|
||||
val isSupportedType = link.type == ExtractorLinkType.VIDEO || link.type == ExtractorLinkType.M3U8
|
||||
if (isSupportedType && preview) {
|
||||
val headers = if (link.referer.isBlank()) {
|
||||
link.headers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue