S3 Video Plugin
[resolved] Echoing file type? play-video.php:44 (2 posts)

  1. Jon Brown
    Posted 3 years ago #

    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....


  2. Anthony Mills
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.