Implemented Paragraph Alignment Breaking FitVid
- Tim Davis
-
Topic Author
- Offline
Less
More
- Posts: 54
- Thank you received: 1
4 years 4 months ago - 4 years 4 months ago #1615
by Tim Davis
Paragraph Alignment Breaking FitVid was created by Tim Davis
Hello,
On this page:
www.fcp.co/final-cut-pro/articles/2252-p...-and-final-cut-pro-x
There are two YouTube videos - one is handled successfully by ochFitvid (the latter one) but the first one is not.
The iframe of the one being handled successfully is surrounded by <p></p> tags.
However, the other one is surrounded by <p style="text-align: justify;"></p> tags. I have tested <p style="text-align: left;">, <p style="text-align: center;">, and <p style="text-align: right;"> and those also prevent the video from being "FitVidded."
I can do a find and replace of all those tags appearing before iframe tags with various video urls in them, but it will be tricky to get bloggers to make sure this is not happening in the code as they work.
Standing by for your thoughts and advice!
Tim
On this page:
www.fcp.co/final-cut-pro/articles/2252-p...-and-final-cut-pro-x
There are two YouTube videos - one is handled successfully by ochFitvid (the latter one) but the first one is not.
The iframe of the one being handled successfully is surrounded by <p></p> tags.
However, the other one is surrounded by <p style="text-align: justify;"></p> tags. I have tested <p style="text-align: left;">, <p style="text-align: center;">, and <p style="text-align: right;"> and those also prevent the video from being "FitVidded."
I can do a find and replace of all those tags appearing before iframe tags with various video urls in them, but it will be tricky to get bloggers to make sure this is not happening in the code as they work.
Standing by for your thoughts and advice!
Tim
This message contains confidential information
Last edit: 4 years 4 months ago by Ruud van Lent.
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1715
- Thank you received: 111
4 years 4 months ago #1616
by Ruud van Lent
Replied by Ruud van Lent on topic Paragraph Alignment Breaking FitVid
Hi Tim,
uploaded a test version in the OP (your first post in this topic).
This version 'widens' the search to not only include <p>...</p> but also all variants where styling is set on the <p> element.
regards,
Ruud.
uploaded a test version in the OP (your first post in this topic).
This version 'widens' the search to not only include <p>...</p> but also all variants where styling is set on the <p> element.
regards,
Ruud.
Please Log in to join the conversation.
- Tim Davis
-
Topic Author
- Offline
Less
More
- Posts: 54
- Thank you received: 1
4 years 4 months ago #1617
by Tim Davis
Replied by Tim Davis on topic Paragraph Alignment Breaking FitVid
Yes, that works!
Sorry for the late reply. I keep forgetting to subscribe to my posts to be notified of replies.
Sorry for the late reply. I keep forgetting to subscribe to my posts to be notified of replies.
Please Log in to join the conversation.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1715
- Thank you received: 111
4 years 4 months ago #1618
by Ruud van Lent
Replied by Ruud van Lent on topic Paragraph Alignment Breaking FitVid
Hi Tim,
thanks for reporting back. Will add this functionality to the new version. In the meantime you can use the one you have downloaded.
regards,
Ruud.
thanks for reporting back. Will add this functionality to the new version. In the meantime you can use the one you have downloaded.
regards,
Ruud.
Please Log in to join the conversation.