It is currently April 19th, 2024, 10:56 am



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Need Youtube Auto Wrap Code for WordPress websites.
PostPosted: September 2nd, 2022, 5:09 pm 

Joined: April 25th, 2020, 8:41 am
Posts: 17
Hi Freddy,

Hope you are fine and well. There is something big is missing in ThemaPoster, I have checked today, while entering a simple URL adding my post which was going to WordPress website,

Example URL: https://www.youtube.com/watch?v=XHc9d2Nihuk

When I added youtube link its goes straight away as link that was fine as i understand, but if and when anyone wants to embed the youtube link into their posts no option is available in ThemaPoster, I suggest there should be an option in setting area of each website as show in this screenshot

screenshot URL: Image

Please add an option like embed youtube videos with check-mark option with other settings. After checking and marking that youtube embed option youtube url will be posted in wordpress website like this way codes below
Code:
[youtube]https://www.youtube.com/watch?v=XHc9d2Nihuk[/youtube]
[youtube]https://www.youtu.be/XHc9d2Nihuk[/youtube]


Please do something like this option so we can choose such setting also for desired wordpress websites added on ThemaPoster, It will be an amazing upgrade for us..

Waiting for your kind Reply.

Regards....


Top
 Profile  
Reply with quote  
 Post subject: Re: Need Youtube Auto Wrap Code for WordPress websites
PostPosted: September 3rd, 2022, 6:19 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12641
Location: Earth
Hi,

you can already do that with replacement.

Add this replacement for needed site and it will surround automatically when posting:

Search for:
Code:
https?://(www.)?youtu\.?be.+


Replace with:
Code:
[youtube]$0[/youtube]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Need Youtube Auto Wrap Code for WordPress websites
PostPosted: September 3rd, 2022, 12:50 pm 

Joined: April 25th, 2020, 8:41 am
Posts: 17
Its not working with your given replacement code.. Can you tell me what will be replacement for this URL:
Code:
https://www.youtube.com/watch?v=XHc9d2Nihuk


Top
 Profile  
Reply with quote  
 Post subject: Re: Need Youtube Auto Wrap Code for WordPress websites.
PostPosted: September 3rd, 2022, 4:56 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12641
Location: Earth
It's working fine with this URL.

Maybe you forgot to enable "Regex" option or added in wrong place.

PM me. Will review your settings.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC