BuddyDev

Search

[Resolved] Embed streamable.com video in member profile field

  • Participant
    Level: Enlightened
    Posts: 95
    Maksim Rusakovich on #17601

    Hello Brajesh

    3. I check php info with this plugin https://wordpress.org/plugins/wordpress-php-info/

    Result:
    http://prntscr.com/ky83bs

    5. Yes, but where can I download 1.0.1 version?

  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #17604

    Hi Max,
    Thank you.

    1. Your settings are on and we won’t need to change our code.

    2. There is no new version yet. Can you please check the plugin and see your change for field id is still there? If yes, Please share me a screenshot of user’s edit profile page(using this field and the value entered).

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 95
    Maksim Rusakovich on #17605

    Hello Brajesh

    1. Understand. I mean I can’t update my plugin to 1.0.1.
    http://prntscr.com/ky8dm2
    now in file

     * Plugin Name: COUB Custom
     * Version: 1.0.0
     *
     * A basic plugin that uses local proxy file to retrieve content from coub.
     */
    
    // Do not allow direct access over web.
    defined( 'ABSPATH' ) || exit;

    2. code: http://prntscr.com/ky8d4j

    profile: http://prntscr.com/ky8d9j

    Url embed: http://prntscr.com/ky8e81

    Result: https://r.abodva.com/members/abodva/

  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #17606

    Thank you Max.

    Please try disabling the PCRE profile field validation plugin plugin and check it. Your code and settings are all good.

  • Participant
    Level: Enlightened
    Posts: 95
    Maksim Rusakovich on #17607

    Hello Brajesh.

    1. Disabling doesn’t help.

    2. Coub standard plugin is disabled

    3. Should I update to 1.0.1?

    Any ideas?

  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #17608

    Hi Max,
    Thank you.

    It’s strange. It is working for me as you can see here.
    https://i.imgur.com/PMu3sg7.png
    https://i.imgur.com/xKcyTu2.png

    Do you have any other customization for xprofile field data.

    Also, can you please put it in a post/page and see if it works or not?

    
    [coub_embed]https://coub.com/embed/um0um0[/coub_embed]
    

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 95
    Maksim Rusakovich on #17609

    Yes. It’s working.
    http://prntscr.com/ky922k

    Standard COUB plugin is also working in profile field.
    I just insert the standard url https://coub.com/view/u0zh9

    What steps can I do to debug it?


    UPDATE.
    My mistake. some snippet influenced on coub.
    Checking hot to make coub bigger.
    https://r.abodva.com/members/abodva/

  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #17612

    Hi Max,
    No problem.

    It seems to me that the profile field is working now.

    Please feel free to modify the args(height/width etc in php) or add your custom css to the css file.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 95
    Maksim Rusakovich on #17613

    Hello Brajesh

    Great support! You’re awesome.
    CSS is working great.

    Just one question. How to remove frames in portrait mode?
    http://prntscr.com/ky9in0

    But leave full screen in landscape mode?
    http://prntscr.com/ky9iuo

    If I try to add

    embed, iframe, object {
        max-width: 100%;
        max-height: fit-content;
    }

    http://prntscr.com/ky9j3l

    It’s remove the frame in portrait mode.
    But in landscape mode the video gets smaller.

    Could you help to resolve it?
    Page for testing: https://r.abodva.com/members/abodva/

    Thank you once again.

  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #17617

    Hi Max,
    Thank you.

    You can use media query in css like this to target it

    
    
    @media screen and(max-width:480px) {
    
    .data iframe{
     height: 180px;
    }
    }
    
    

    Something like that should do it.

    PS:- Please put the above code in your theme’s stylesheet and not in the custom one we have used for the player.

    Regards
    Brajesh

The topic ‘ [Resolved] Embed streamable.com video in member profile field’ is closed to new replies.

This topic is: resolved