Open non-standard URL as video

Page: 1

Author Post
Member
Registered: Apr 2009
Posts: 81
If I open my .mp4 with Floatbox, it works as expected.

However, I need to load a PHP script because I am restricting access to my .mp4 video. How can I configure my <a> link so that it instructs Floatbox to treat the URL as if its a video?

The URL just looks something like this:

https://www.domain.com/_video.php?video=Module-11a

Thanks!
Administrator
Registered: Aug 2008
Posts: 3382
404 --- it's probably not really on domain.com. :-)

But, have you tried putting type:video in the data-fb-options? If that doesn't do the trick in your context, you could try letting it load as an iframe and do whatever you want in the iframe page to play the video.
Member
Registered: Apr 2009
Posts: 81
That's what I was looking for, and it did the trick. Thanks!

Page: 1