• Resolved Jon Brown

    (@jb510)


    Lin 44 In /views/video-management/play-video.php reads:

    <?php echo substr($videoFile, -3); ?>

    This seems to be echoing out the the filetype and I have no idea why… is this intentional and getting used somehow?

    I would have assumed it should be:
    <?php $videoPath = substr($videoFile, 0, -4); ?>

    to get the filename without the extension, but it doesn’t seem to be for that purpose, in fact it seems to haven o purpose (that I can tell).

    Any input appreciated….

    https://www.ads-software.com/extend/plugins/s3-video/

Viewing 1 replies (of 1 total)
  • Plugin Author Anthony Mills

    (@anthony_mills)

    I think it may have been there due to some specific requirement on behalf of the player in the newest version the file does not exist.

Viewing 1 replies (of 1 total)
  • The topic ‘Echoing file type? play-video.php:44’ is closed to new replies.