WordPress.org

Ready to get started?Download WordPress

Forums

JW Player for Flash & HTML5 Video
remove full screen button (12 posts)

  1. southcast
    Member
    Posted 10 months ago #

    Hey @longtail guys, I need to remove the functionality of the fullscreen button. Please let me know how I can achieve this. Even if the link of the button is nulled "#" that is fine.

    I tried to remove icons and the relevant code from the xml file that was available at this directory /public_html/wp-content/plugins/jw-player-plugin-for-wordpress/skins/ but it does not have any effect on the player controls. In the view-source I can see that the player is streamed from a url from your servers. Are the skins directly streamed from your server somehow too. ?

    http://wordpress.org/plugins/jw-player-plugin-for-wordpress/

  2. JW Player
    Member
    Plugin Author

    Posted 10 months ago #

    You can do this by making a custom skin with the full screen button removed.

    We have a SDK available here - http://developer.longtailvideo.com/trac/

  3. southcast
    Member
    Posted 10 months ago #

    I downloaded the sdk and made changes and uploaded it to the directory public_html/wp-content/plugins/jw-player-plugin-for-wordpress/skins/ but the player still remains unaffected as there is no setting in the admin to choose skin in the free version. FYI I use the free version.

    On the other hand, I did a small test by having removed absolutely all the skins from /public_html/wp-content/plugins/jw-player-plugin-for-wordpress/skins/ directory and yet the player plays unaffected, which means that the skin is being served from your servers most probably. Hence the reason I asked in my initial question and am asking you again - are the skins directly streamed from your server somehow ?. Because if that is the case then there is no way the solution you suggested is gonna work.

    We are truly grateful for such a great plugin. Forgive me but I think you have given me a misleading solution. If the solution I am looking for is only for the paid version or such, just say so and I will consider buying it. This is a second time I got such a vague reply from you guys. First time was in this thread.

    Hoping for a good change.

  4. JW Player
    Member
    Plugin Author

    Posted 10 months ago #

    Can I see where you are running the player on your site?

  5. southcast
    Member
    Posted 10 months ago #

    it is a testsite of course and here is the link

  6. JW Player
    Member
    Plugin Author

    Posted 10 months ago #

    Forbidden

    You don't have permission to access /second-post/ on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    Apache Server at dump.teamcomm.in Port 80

  7. southcast
    Member
    Posted 10 months ago #

    You can try now. I was doing some maintenance work on other domains. BTW it is just a fresh wp-install and there is no other plugins except jwplayer for wordpress. It was installed only to make tests on this specific issue. I have already explained my entire case. Hope you can help.

  8. JW Player
    Member
    Plugin Author

    Posted 10 months ago #

    Ok, I see the player now.

    A few follow up questions:

    - What is the shortcode for this post?
    - Where does the skin xml file that you made reside on the server?
    - Have you set the skin in the drop down when you created the player? I ask this because I do not see the "skin" being set in the player when I view the source.

  9. southcast
    Member
    Posted 10 months ago #

    1. The current shortcode i use is [jwplayer mediaid="19"]

    2. I did not made any skin xml file and yes as I already mentioned earlier twice, it resides on /public_html/wp-content/plugins/jw-player-plugin-for-wordpress/skins/facebook/facebook.xml. What I did is deleted all the other zipped skins unzipped "facebook" and hoped this one would work if called in the shortcode as [jwplayer mediaid="19" skin="http://southcast.in/wp-content/plugins/jw-player-plugin-for-wordpress/skins/facebook/facebook.xml"] as mentioned here but it does not work. And again as I mentioned earlier the skin seems to load from somewhere else and I am looking into the wrong directory. I asked it twice earlier if jw6 loads the skin directly from its servers, the answer to which I still havnt got !

    3. There is no skin drop down, as mentioned earlier I am running a free version.

    I hope you will not end up saying, the feature you are asking is only possible in the paid version.

  10. JW Player
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    I would use this shortcode:

    [jwplayer mediaid="19" skin="http://southcast.in/wp-content/plugins/jw-player-plugin-for-wordpress/skins/facebook/facebook.xml"]

    However, the reason that this did not work is because this file (http://southcast.in/wp-content/plugins/jw-player-plugin-for-wordpress/skins/facebook/facebook.xml) , returns an error:

    Forbidden

    You don't have permission to access /wp-content/plugins/jw-player-plugin-for-wordpress/skins/facebook/facebook.xml on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    Apache Server at southcast.in Port 80

    So there is an issue with permissions on your own server.

    My default, the player skin is actually embedded into the player itself, so it does not load from our servers, or yours, it's built into the SWF / JS.

    However, the shortcode that I mentioned, and that you also tried, should work, but your file is not accessible...

    Hope that helps . . . .

  11. southcast
    Member
    Posted 10 months ago #

    @Longtail I made the correction in the url and my final shortcode looks like this.

    [jwplayer player="1" mediaid="19" skin="http://dump.teamcomm.in/wp-content/plugins/jw-player-plugin-for-wordpress/skins/facebook/facebook/facebook.xml"]

    Plugin loads the video fine but it simply ignores the skin mentioned in the url and loads the default skin ( which you said is embedded within the player). I cannot see it loading in the view-source as well.

    <script type='text/javascript'>if(typeof(jQuery)=="function"){(function($){$.fn.fitVids=function(){}})(jQuery)};jwplayer('jwplayer-0').setup({"aspectratio":"16:9","width":"100%","primary":"flash","image":"http://i1.ytimg.com/vi/NugRZGDbPFU/0.jpg","file":"http://www.youtube.com/watch?v=NugRZGDbPFU"});
    </script>

    If the player refuses to load the skin, there is no use editing the skin right ? So I am back to square one.

  12. JW Player
    Member
    Plugin Author

    Posted 10 months ago #

    @southcast - The skin is still forbidden.

    http://dump.teamcomm.in/wp-content/plugins/jw-player-plugin-for-wordpress/skins/facebook/facebook/facebook.xml

    Forbidden

    You don't have permission to access /wp-content/plugins/jw-player-plugin-for-wordpress/skins/facebook/facebook/facebook.xml on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    Apache Server at dump.teamcomm.in Port 80

Reply

You must log in to post.

About this Plugin

About this Topic