So, I’m using shortcoder to build a video player using Plyr. With Plyr, you can pass in multiple sources. So, for example, a m3u8 file, a high resolution mp4, medium resolution mp4, and low resolution mp4. However, there might not always be all four of those. Rather than building four different shortcodes, I was curious if it was possible to do something like:
if %%m3u8_URL%% then
<source src="%%m3u8_URL%%" type="application/x-mpegURL">
endif
Please let me know.
Thanks,
AJ