YAFLogo

rbarrow
  • rbarrow
  • 82% (Honored)
  • YAF Lover Topic Starter
8 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: 4.0.0 rc 2
8 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
8 years ago

You need to use the whole url to the vimeo video

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

Originally Posted by: tha_watcha 

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

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
8 years ago

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

Originally Posted by: rbarrow 

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
8 years ago

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

Originally Posted by: Zero2Cool 

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.

Originally Posted by: rbarrow 

Yes...of course...

As you can see...it doesn't work....

rbarrow
  • rbarrow
  • 82% (Honored)
  • YAF Lover Topic Starter
8 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: 4.0.0 rc 2
8 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

Originally Posted by: rbarrow 

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
8 years ago

[quote=rbarrow;66413]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

Originally Posted by: tha_watcha 

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