Home Forums Plugin Support WP User Frontend Pro Video.js player wont display after upload

This topic is: not resolved

This topic contains 50 replies, has 3 voices, and was last updated by  Anthony 3 years, 7 months ago.

Viewing 15 posts - 1 through 15 (of 51 total)
  • Author
    Posts
  • #64554

    Anthony
    Member
    Post count: 37

    We love this plugin! Has a ton of great features and functionality. We have one major issue that I'm sure is easily resolved.

    After the MP4 (or any other format) video is uploaded, no video appears. It does create the post, but our video.js player does not show up.

    We need users to upload videos and have them display instantly on the site for the public to view.

    Can anyone explain to me how to do this?

    We are using the BeeTube theme.

    Thank you.

    #64717

    towhid
    Participant
    Post count: 4505

    Hello Anthony,

    I am really sorry to say that we do not have this kind of functionality. One can download the video after uploading the video through the form.

    Thanks

    #64786

    Anthony
    Member
    Post count: 37

    Just want to make sure I understand…

    A user can go to our website and upload a video using your uploader.
    The uploader creates a post and also uploads the video to the post.

    But the video will not display??

    What is the point of having an uploader that uploads a video and creates a post but the video will not display?

    #65039

    towhid
    Participant
    Post count: 4505

    Hello Anthony,

    The video will not display after uploads a video through the post.

    I am extremely sorry to say that we do not have this kind of functionality. I will discuss about this feature with our developer team. Hope they will implement this feature in near future.

    Thanks

    #65087

    Anthony
    Member
    Post count: 37

    It seems like there should be some type of way around this.

    When the video uploads, it goes into a custom field within the post edit area. Can the plugin be edited so that it points the file to another field?

    It needs to go into the “Video File” field in the form of a URL.

    #65236

    towhid
    Participant
    Post count: 4505

    Hello Anthony,

    Please download and install “Post Meta Inspector” plugin then you will get the meta field name. Then it helps you do the operation.

    Thanks

    #65332

    Anthony
    Member
    Post count: 37

    The Post Meta Inspector plugin just tells me the name of the field that I have already told your uploader to send the file to. It doesn't do anything more than that.

    The name of the field that the video URL needs to go into is jtheme_video_file.

    In the form, I have told the uploader to send the file to that field (Meta Key).

    Problem is, the URL itself does not go into the field. The attachement ID# goes in there instead.

    The field does not know what to do with an attachment ID#. It needs the URL in order to display the video.

    Were getting close to fixing this. I just need the URl to go in there instead of the Attachment ID#.

    #65665

    towhid
    Participant
    Post count: 4505

    Hello Anthony,

    Try this following code which will help you to get the video attachment URL.

    var_dump(wp_get_attachment_url(get_post_meta($post_id,$attachment_meta_field_key,true)));

    Thanks

    #65799

    Anthony
    Member
    Post count: 37

    Excellent.

    Now, I need to know exactly where to insert this code.

    I assume it goes directly into the plugin somewhere. Where do I need to put it?

    #65828

    Anthony
    Member
    Post count: 37

    Please respond as soon as you can. I'm 13 hours behind you in Las Vegas NV.

    Where do I need to insert this code? Please give specific instructions.

    #65885

    Anthony
    Member
    Post count: 37

    Towhid,

    I need to get an answer to this question. I can't wait 13 hours every day for a response.

    How do I use the code you gave me to make this work??

    #65929

    Anthony
    Member
    Post count: 37

    need some help here

    #65930

    towhid
    Participant
    Post count: 4505

    Hello Anthony,

    Sorry for my late reply. I was not replied because Friday is our off day.

    However, here is your solution.

    Please insert the following code in the theme's functions.php file var_dump(wp_get_attachment_url(get_post_meta($post_id,$attachment_meta_field_key,true)));

    Thanks.

    #66033

    Anthony
    Member
    Post count: 37

    Your instructions are not clear!!

    Insert it into the theme??

    Which functions.php file are you talking about???

    The BeeTube functions.php file?

    Or

    The WP User Frontend Pro functions.php file?

    Also, both of those files are GIGANTIC. Have you seen how large those files are?

    I need to know which functions.php file you are talking about and PRECISELY WHERE TO INSERT THAT CODE INTO THE FILE.

    You don't just paste it in there anywhere you want.

    This is getting extremely frustrating.

    I need some good instructions. Tell me exactly what to do.

    #66070

    Anthony
    Member
    Post count: 37

    Hello Towhid. Are you there?

Viewing 15 posts - 1 through 15 (of 51 total)

The topic ‘Video.js player wont display after upload’ is closed to new replies.