Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Player Jumps Higher On Page After A Few Videos Play


Best Answer eric, 08 September 2014 - 11:50 PM

Hi Orsini,

 

I see the "jumping" behavior and from what I can tell it's caused by TubePress trying to scroll the browser so the playing video is visible. That behavior works well enough in most websites/themes, but it's not universal and I think your theme doesn't like TubePress trying to scroll the page.

 

If you are interested in turning off the scrolling behavior entirely, you can replace the contents of wp-content/plugins/tubepress_pro_3_1_6/src/main/web/players/normal/normal.js with this code. TubePress 4.0.0 brings the ability to "theme" this change, but for now this is the only way to turn off the scrolling.

 

Please let us know what you think. Thanks

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 orsini

orsini

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 03 September 2014 - 08:49 AM

We're experiencing a new issue with our player. It loads in the appropriate position, but after a few videos play, the entire player jumps about 50px higher on the page, causing overlap issues with the site header. 

 

See http://www.orsinistudio.com/new-reel/. Notice how the page loads, then click on the last video in the player to see the position change.

 

How can I fix the position?



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 03 September 2014 - 10:59 PM

Hi orsini,

 

I just took a look at your page and didn't notice the player moving at all.

 

What browser/OS are you trying on and having this issue?

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 orsini

orsini

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 04 September 2014 - 07:27 AM

Hi Brandon -

 

It is happening in Chrome, Firefox, Opera and Safari. It only happens at the later videos in the track. Here are 2 screenshots that show the player at page load and after it jumps mid-video:

 

http://www.orsinistu...-8.22.31-AM.png

 

http://www.orsinistu...-8.22.34-AM.png

 

Thanks for looking into it.



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 05 September 2014 - 06:21 PM

Hi Orsini,

 

I do not see this issue in Windows, so I have asked one of our developers to look into the issue on a Mac machine.

 

Thanks for your patience!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#5 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 08 September 2014 - 11:50 PM   Best Answer

Hi Orsini,

 

I see the "jumping" behavior and from what I can tell it's caused by TubePress trying to scroll the browser so the playing video is visible. That behavior works well enough in most websites/themes, but it's not universal and I think your theme doesn't like TubePress trying to scroll the page.

 

If you are interested in turning off the scrolling behavior entirely, you can replace the contents of wp-content/plugins/tubepress_pro_3_1_6/src/main/web/players/normal/normal.js with this code. TubePress 4.0.0 brings the ability to "theme" this change, but for now this is the only way to turn off the scrolling.

 

Please let us know what you think. Thanks



#6 orsini

orsini

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 09 September 2014 - 07:36 AM

Thanks for the code fix, this seems to have corrected the problem.