marsradio
13 years agoVisitor
Need to Modify SDK Videoplayer to Allow Display of Image
I'm guessing that this is a unique need here, and I'm wondering if this is even possible. I'm building a video channel using "Videoplayer" from the SDK as my template guide. I've figured out how to set it up to play videos using my own custom XML files. That was the easy part. Here's what I'm stuck on: is it possible to modify the channel code, or the XML code or both to allow for ONE of my Categories to fetch and display a remote static .gif image instead of a remote mp4 video?
Here's a little more insight into what I'm trying to create here: the channel is weather-related. It will primarily host videos of weather events (again, this part is complete...XML files that point to the videos - no problem), but I want one Category to point to static .gif images which consist of forecast maps published by the National Weather Service. The URL for These .gifs never change. So a static link to these .gifs will always yield the latest forecast map. It's this last Category feature that I'm racking my brain on. How do I make this Category display these images when the code is looking for an mp4 video file to play? If it's any help: these .gifs display perfectly within the small sd and hd Poster frame, and they do show the latest .gif within that small frame. Now if only I could figure out how to expand it to full screen so the viewer can see it better.
Any help is greatly appreciated.
Here's a little more insight into what I'm trying to create here: the channel is weather-related. It will primarily host videos of weather events (again, this part is complete...XML files that point to the videos - no problem), but I want one Category to point to static .gif images which consist of forecast maps published by the National Weather Service. The URL for These .gifs never change. So a static link to these .gifs will always yield the latest forecast map. It's this last Category feature that I'm racking my brain on. How do I make this Category display these images when the code is looking for an mp4 video file to play? If it's any help: these .gifs display perfectly within the small sd and hd Poster frame, and they do show the latest .gif within that small frame. Now if only I could figure out how to expand it to full screen so the viewer can see it better.
Any help is greatly appreciated.