WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Jon Brown
    Member
    Posted 1 year 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....

    http://wordpress.org/extend/plugins/s3-video/

  2. Anthony Mills
    Member
    Plugin Author

    Posted 1 year 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

Tags

No tags yet.