News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
* * *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 16, 2018, 11:26:48 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 184729
  • Total Topics: 20513
  • Online Today: 38
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 3
Guests: 25
Total: 28

Skinz





amazon.com

Author Topic: Panel Auto Collapse  (Read 853 times)

0 Members and 1 Guest are viewing this topic.

Offline Skb

  • Jr. Member
  • **
  • Posts: 87
    • Metabolically Challenged
Panel Auto Collapse
« on: April 28, 2018, 05:00:58 AM »
We use the Right Panel with a number of Blocks in it.
When a post contains inline image files, they are automatically resized to fit the available width. In the case of video attachments, the Right Panel overlaps the video as in the attached screen shot.
Can the same thing be done with video files ? Or is there a way to auto-collapse the right panel if the post contains video files in wider format ?
www.diabetic.pub/forum
because every diabetic needs help.
SMF 2.0.15 / TP 1.3R

Offline tino

  • Developer
  • *
  • Posts: 899
Re: Panel Auto Collapse
« Reply #1 on: April 28, 2018, 05:16:50 AM »
Inline attachments or using the new youtube post functionality in TP 1.4.x?

Offline tino

  • Developer
  • *
  • Posts: 899
Re: Panel Auto Collapse
« Reply #2 on: April 28, 2018, 03:26:46 PM »
Inline attachments or using the new youtube post functionality in TP 1.4.x?

I just checked it’s in a forum post, you have set the width and height in the iframe.

This isn’t a TinyPortal issue, ( or anything we can do to stop it ) if it’s a mod you’re using to post the links then that needs to be modified. If it’s not then you need to change the width and height.

Offline Skb

  • Jr. Member
  • **
  • Posts: 87
    • Metabolically Challenged
Re: Panel Auto Collapse
« Reply #3 on: April 28, 2018, 11:38:13 PM »
tino, thanks for your guidance.

Should anyone encounter this problem, this is what I did to resolve the issue.

My Right Panel is set to a width of 250. It was overlapping the video which was 640 x 385. I use the Simple Audio Video Embedder and the settings there were set to "0", which means use video media defaults.  Some sites recommended a 340 x 220 video size for websites. I found that to be too small for the post area and proportionately increased the width and height to 420 x 273 to fit our forum post area width.
www.diabetic.pub/forum
because every diabetic needs help.
SMF 2.0.15 / TP 1.3R

Online lurkalot

  • Administrator
  • *
  • Posts: 4838
    • Camera Craniums
Re: Panel Auto Collapse
« Reply #4 on: April 29, 2018, 03:16:11 AM »
Skb Have you checked on a mobile to see if the video is still stretching out of the right hand side?

If you check in firefox in responsive view mode, it still looks like it is.

Because your adding these to a post they still need to be responsive if added at a certain size.  I personally use Ohara YT embed on my sites, as it's responsive, and resizes the videos on the fly.  You can even see them change size just by zooming the page.  But here's a couple of screenshots captured while using Firfox's responsive view mode.  One from your site, and one from one of my test sites.
Mick aka lurkalot.

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.3
Guitarist Guild Running SMF 2.0.15 / Tinyportal 1.4R Beta
The Garden Machinery Forum Running SMF 2.0.15 / Tinyportal 1.4R Beta

Offline Skb

  • Jr. Member
  • **
  • Posts: 87
    • Metabolically Challenged
Re: Panel Auto Collapse
« Reply #5 on: April 29, 2018, 08:11:28 PM »
Thanks Mick.

I will explore more and get back.
www.diabetic.pub/forum
because every diabetic needs help.
SMF 2.0.15 / TP 1.3R