Commit 42254251 authored by Nico Schallehn's avatar Nico Schallehn

test

parent f1623d53
......@@ -329,7 +329,7 @@ class Media {
$tmdbURL2="https://api.themoviedb.org/3/movie/".$tmdb["movie_results"][0]["id"]."?api_key=".$this->config["ApiKeys"]['Tmdb_Key']."&language=en&append_to_response=trailers";
$tmdbData2 = $this->jsonCacheDecoder($tmdbURL2);
if(isset($tmdbData2["trailers"]["youtube"][0]["source"])){
$youtubeEN = str_replace("&hd=1", "", $tmdbData1["trailers"]["youtube"][0]["source"]);
$youtubeEN = str_replace("&hd=1", "", $tmdbData2["trailers"]["youtube"][0]["source"]);
if(strpos($youtubeEN,"youtube")>0){
echo "doofer IFrame....!!!";
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment