Implemented Paragraph Alignment Breaking FitVid
- Tim Davis
-
Onderwerp Auteur
- Offline
Minder
Meer
- Berichten: 54
- Ontvangen bedankjes 1
4 jaren 1 week geleden - 4 jaren 6 dagen geleden #1615
door Tim Davis
Paragraph Alignment Breaking FitVid werd gestart door 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
Dit bericht bevat vertrouwelijke informatie
Laatst bewerkt 4 jaren 6 dagen geleden door Ruud van Lent.
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
-
- Offline
Minder
Meer
- Berichten: 1691
- Ontvangen bedankjes 108
4 jaren 6 dagen geleden #1616
door Ruud van Lent
Beantwoord door Ruud van Lent in 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.
Graag Inloggen deelnemen aan het gesprek.
- Tim Davis
-
Onderwerp Auteur
- Offline
Minder
Meer
- Berichten: 54
- Ontvangen bedankjes 1
4 jaren 4 dagen geleden #1617
door Tim Davis
Beantwoord door Tim Davis in 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.
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
-
- Offline
Minder
Meer
- Berichten: 1691
- Ontvangen bedankjes 108
4 jaren 4 dagen geleden #1618
door Ruud van Lent
Beantwoord door Ruud van Lent in 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.
Graag Inloggen deelnemen aan het gesprek.