WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: wordTube] Player Default Size (22 posts)

  1. hucky91074
    Member
    Posted 5 years ago #

    Hi, my Default Size of the Player is always 320x240. I can change it, but the play don't show the new size.
    Any ideas?

  2. lgcassab
    Member
    Posted 5 years ago #

    Same problem with me.

  3. JimNastics
    Member
    Posted 5 years ago #

    I'm getting this issue as well, no matter what I do the player defaults to 320 x 240. I guess it's an issue with swfobject.js. Any thoughts Alex?

  4. Alex Rabe
    Member
    Posted 5 years ago #

    Do you add the width/height to the shortcode ?
    i.e. [media id=123 width=320 height=240]

  5. ComradeSmack
    Member
    Posted 5 years ago #

    I have this problem as well.

    If I change the size with shortcode it'll work, but I'd like to not have to resort to that for every post.

  6. retrovision
    Member
    Posted 5 years ago #

    [media id=123 width=320 height=240]

    didn't work... also all new posts have the dimensions of 320X240 no matter what you specify for the default.

    It looks like you took out the code that lets you set that manually, so I had to modify the dimensions with mysql.

    I make extensive use of your plugin and appreciate your effort, but your latest release cost me a lot of time.

    I'd put back the dimension settings in the "add media" menu or make the default settings ignore the height and width settings in the database.

    I think the later would be better.

    Thanks for the tool.

    Kevin
    retrovision.tv

  7. nelson-ray
    Member
    Posted 5 years ago #

    This is horrible that Wordtube 2.x only plays videos at 320x240 resolution. If I try to add custome size parameters like [media id=123 width=500 height=375], the latest post in the loop will play fine, but as soon as I post a new article with a new video file with custom size settings, the video in the prior article before that plays the same video as the newest article!!! This bug really should be fixed and please allow a working custom size by default.

  8. bear007
    Member
    Posted 5 years ago #

    I just updated my blog from 2.6 to 2.7 only yo use wordtube and suddenly it can not change size. So I would like to like to ask as like other here if it would be possible to look on this behavior in near future.

    Kind regards,

    Good work!

  9. bear007
    Member
    Posted 5 years ago #

    Update:

    It's strange... When i put by hand [media id=1 width=120 height=120] it does not work, but when I click on a button above editing screen to put music with a wordtube window, i select my music, set width to 120 height to 120, it puts the same code I've put before by hand. But now... it works! Maybe something with special characters or something? But what characters, I use only brackets, equation and spaces.

    Just don't have any clue... but hope this helps!

  10. powerkor
    Member
    Posted 5 years ago #

    edit your css style sheet people.

    object {
    height: 60px !important;
    }

    change it to whatever you want. I know if you have a mix of videos and music, this will not work but you could even do something like this

    in your post:
    <div class="video">[media id="1"]</div>

    then your style sheet could be:

    .video object {
    height:300px !important;
    }

    music:<div class="music">[media id="1"]</div>
    you could do the same for music:

    .music object {
    height:60px !important;
    }
  11. bear007
    Member
    Posted 5 years ago #

    Yes, so I must add div class to have styles player? It's better than put size in post, but still- don't like this solution too.

  12. powerkor
    Member
    Posted 5 years ago #

    Well, Im not gonna fix the code. Thats just a quick fix I figured out to get it to work with my site. And its a really easy fix, so... Not sure how much easier you want it to get.

  13. bear007
    Member
    Posted 5 years ago #

    powerkor,

    The problem is that in WordPress you can not put div into post. You must go to html view, and there put everytime a div. And I don't need to write it's not a good thing to do?

  14. powerkor
    Member
    Posted 5 years ago #

    still not seeing the big deal... you click a tab and change type some stuff...

  15. bear007
    Member
    Posted 5 years ago #

    powerkor,

    Yeah. Right.

    On what licence is your plugin? Can I take it and create my own on basis?

  16. powerkor
    Member
    Posted 5 years ago #

    If you spoke more clearly, I could help you better. I have no idea what you just said.

  17. bear007
    Member
    Posted 5 years ago #

    powerkor,

    I would like to know if I can modify your plugins code and publish it as a new plugin. Therefore I would like to know on what licence you publish this plugin.

    kind regards.

  18. powerkor
    Member
    Posted 5 years ago #

    lol, its not my code! i was jusdt trying to help you

  19. bear007
    Member
    Posted 5 years ago #

    you wrote like you were a author :)

  20. conversationware
    Member
    Posted 5 years ago #

    Hi - I had exactly the same problem.

    Fixed it by changing the over-stretch setting to 'fit'. No idea why it works but it does.

    Hope that helps.

  21. brihan
    Member
    Posted 5 years ago #

    Is "over-stretch" an attribute of the "media" shortcode or some css you've added to your theme?

  22. furehead
    Member
    Posted 4 years ago #

    in Version 2.2.2 the problem still exists, because the height/width is written into the database on every upload through add media=>wordtube.

    Fixed it for me by changing the following code in file
    wordtube/admin/functions.php

    line 83-84:

    $act_width = 0; // change from 320 to 0
    $act_height = 0; // change from 240 to 0

    line 93-94: (add doubleslashes to those lines or delete them)

    //	if ($act_height < 20 ) $act_height = 20 ;
    //	if ($act_width == 0 ) $act_width = 320 ;

    Then the default values set in the options menu will be taken.

    Strange why this problem is still in the code.

    Be aware that I did not test properly therefore I am sure there will be side-effects with other filetypes or whatever. But for .flv movies this works in the normal player.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags