YAFLogo

rbarrow
  • rbarrow
  • 82% (Honored)
  • YAF Lover Topic Starter
7 years ago
[VIMEO]102893547[/VIMEO]

VIMEO doesn't work here either....Anyone have this working?





Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
7 years ago
You need to use the whole url to the vimeo video

[VIMEO]http://vimeo.com/97812533[/VIMEO]

rbarrow
  • rbarrow
  • 82% (Honored)
  • YAF Lover Topic Starter
7 years ago
Originally Posted by: tha_watcha 

You need to use the whole url to the vimeo video

[VIMEO]http://vimeo.com/97812533[/VIMEO]



Vimeo redirects to https now...this link shown about will work but no NEW link works How can we get this to work?
Zero2Cool
7 years ago
Originally Posted by: rbarrow 

Vimeo redirects to https now...this link shown about will work but no NEW link works How can we get this to work?



Have you tried editing the BBCode?

Administration » YafBBCode Extensions » Edit YafBBCode Extensions

Select Vimeo and in Replace RegEx: change http to https and see if that does the trick.
rbarrow
  • rbarrow
  • 82% (Honored)
  • YAF Lover Topic Starter
7 years ago
Originally Posted by: Zero2Cool 

Originally Posted by: rbarrow 

Vimeo redirects to https now...this link shown about will work but no NEW link works How can we get this to work?



Have you tried editing the BBCode?

Administration » YafBBCode Extensions » Edit YafBBCode Extensions

Select Vimeo and in Replace RegEx: change http to https and see if that does the trick.



Yes...of course...



As you can see...it doesn't work....
rbarrow
  • rbarrow
  • 82% (Honored)
  • YAF Lover Topic Starter
7 years ago
I can get the regex search to return the named capture groups (vimeoId) but the replace is not happening.

Can someone post a WORKING copy of the RegEx Search and the RegEx Replace strings that are known to work?

Thanks,
R
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
7 years ago
Originally Posted by: rbarrow 

I can get the regex search to return the named capture groups (vimeoId) but the replace is not happening.

Can someone post a WORKING copy of the RegEx Search and the RegEx Replace strings that are known to work?

Thanks,
R



The updated Search Regex would be...

\[vimeo\](?<inner>http://(?<prefix>[A-Za-z][A-Za-z][A-Za-z]?\.)?vimeo.com/(?<vimeoId>[0-9]{8}))[^[]*\[/vimeo\]|\[vimeo\](?<inner>https://(?<prefix>[A-Za-z][A-Za-z][A-Za-z]?\.)?vimeo.com/(?<vimeoId>[0-9]{8}))[^[]*\[/vimeo\]
rbarrow
  • rbarrow
  • 82% (Honored)
  • YAF Lover Topic Starter
7 years ago
Originally Posted by: tha_watcha 

Originally Posted by: rbarrow 

I can get the regex search to return the named capture groups (vimeoId) but the replace is not happening.

Can someone post a WORKING copy of the RegEx Search and the RegEx Replace strings that are known to work?

Thanks,
R



The updated Search Regex would be...

\[vimeo\](?<inner>http://(?<prefix>[A-Za-z][A-Za-z][A-Za-z]?\.)?vimeo.com/(?<vimeoId>[0-9]{8}))[^[]*\[/vimeo\]|\[vimeo\](?<inner>https://(?<prefix>[A-Za-z][A-Za-z][A-Za-z]?\.)?vimeo.com/(?<vimeoId>[0-9]{8}))[^[]*\[/vimeo\][/code][/quote]

Ingo...
This is still not working on my installation so I can only assume that I have something else wrong:


Here is what is in the RegEx Replace section:
[code=markup]<div><iframe src="//player.vimeo.com/video/{vimeoId}?title=1&amp;byline=1&amp;portrait=1" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>

What is supposed to be in optional identifiers?

R
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button