Community

Forums » SEPHP Help and Tips

Changing Video Player or How to activate Video Ads?

  • Xio
    • 5 posts
    September 11, 2019 1:44 PM EDT

    Hello,

    I have been managing my own little community with SocialEngine PHP and we are running into a technical problem at the moment. Do you know if there is any way to change the video player to JS, Flow player, Fluid Player or absolutely anything else relatively easily?

    We are heavily working with our Ad network to activate instream video ads but the function doesn't seem to be compatible with the current video player of SocialEngine. There seems to be also no 3rd party at the moment offering this as plugin/service.

    So my question is would you have a tutorial either:

    1) Helping us replace the original video player of SocialEngine with something else? 

    or

    2) Is it actually possible to have instream videos play with SocialEngine 4.10.4?

     

    Thank you!


    This post was edited by Xio at September 11, 2019 1:45 PM EDT
    • 3688 posts
    September 12, 2019 6:48 AM EDT

    /externals/flowplayer shows we are using flowplayer. Based on the js file in that folder it is:

    Flowplayer v7.2.7 (Monday, 13. August 2018 08:40AM) | flowplayer.com/license

    Hope that helps.

    • 3688 posts
    September 12, 2019 6:50 AM EDT

    Or, did I perhaps misunderstand the question? I do see it calling flowplayer in several files. You can check this too by getting the free Sublime text and using it to search all files and folders for SEPHP that you have downloaded. Search for flowplayer and it'll show quite a lot of entries.

  • Xio
    • 5 posts
    September 12, 2019 10:23 AM EDT
    Hello Donna,

    After couple of hours of scratching my head yesterday , I found that SocialEngine is indeed using Flow Player. Somehow though my version doesn’t match with the number you have? Ours say 3.7.2 and all the licensing say 2011?

    Ideally we would like to remove Flow player completely and change it with any video player (free and open source would be better for our wallet
  • Xio
    • 5 posts
    September 12, 2019 12:04 PM EDT

    It actually says  "Flowplayer 3.2.13.min.JS", "Flowplayer 3.2.16.swf", and "Flowplayer 3.2.18.swf" Sorry for the confusion! 

    I seem to have 3 different FlowPlayer in that folder. So confusing.

    • 3688 posts
    September 13, 2019 9:38 AM EDT

    Perhaps you have plugins? I forgot to mention, if you are using the html5 setting, that wouldn't use flowplayer as it uses native html5. A third party expert who I asked said it would be a customization for you to have what you want for ads and stuff. I had asked SNS about it as they have an advanced video plugin.

  • Xio
    • 5 posts
    September 14, 2019 8:43 PM EDT

    Hello Donna,

    I was actually able to make a lot of progress on my own thanks to a call with JW player.  However, they have edited the compileHTML5Media() PHP function, but we are not seeing the changes take effect. it's still loading the same function. Is there some way to force the pages to use this updated code?

    I am also happy to share a tutorial on how to update Flowplayer to JW Player if anyone need it :)

    • 3688 posts
    September 16, 2019 8:29 AM EDT

    That's great that you are getting it to work for the most part. Do you have the site in development mode? If not, try that. If so, try disabling it and manually clearing cache and see if that helps. Also, clearing browser cache might help. I'm not 100% sure why it isn't updating.