Create youtube embed code for wordpress with customized parameters - wordpress

I want to get a youtube video into a blog post and it should have these features:
start & end time,
autoplay,
loop,
no controls showing
I tried to customize the code myself but only the start and end time worked the rest didn't.

Hi you can use the same shortcode and add you own parameters.
Wordpress Site Admin can't publish <iframe>s on multsite network

Related

How to preserve utm parameters in wordpress website without plugin

My website is https://example.com/
When I run a campaign for example https://example.com/?utm_source=sourceexample&utm_medium=facebook
I want that when I navigate to any page the ?utm_source=sourceexample&utm_medium=facebook should also propagate in the URL. Currently when I navigate to any other page or click on a link the UTM parameters disappear from the URL.
I was expecting some piece of code to put in the function.php file which should fix this issue but unfortunately I could not find it.
Please help me to achieve it.
gravity from has this option inside the plugin.
will display on end page on what page they started.
also in google analytics.

MediaElement.js (WordPress) set end time for YouTube videos

I'm trying to figure out how I can specify a custom end time for YouTube video. I am using the following shortcode to embed YouTube videos on my website.
[video type="video/youtube" src="https://www.youtube.com/watch?v=nlvVGwssklQ"]
I need to specify different end times for each video on the website.
I am looking for something like:
[video type="video/youtube" src="https://www.youtube.com/watch?v=nlvVGwssklQ" **end="2m6s"**]
It seems you are using the MediaElement plugin for WordPress. The plugin description does not show an option for setting the end time for YouTube videos.
You need to customize the plugin so it allows setting the end time. The MediaElement documentation has a function called getCurrentTime() which returns the current playing time of the video. You can check if the current playing time is equal to your end time and if so, stop the player. You can add this check within the handler for timeupdate event.
Another option is to post a feature request on the plugin support forum

How to create a static page where to add posts in wordpress?

I am new with Wordpress and I need some help.
I have added this theme to my website (theam demo link) and I am trying to create a page where I can add new post and every post must be on the same page and with a read more button (like home page from the link).
Go to Settings > Reading and under "Front page displays" select "Your latest posts."
You should go to the WordPress site and read the getting started as this is a basic setting. Also, read the documentation that comes from the theme developer. It will have further information as well.
In your WordPress admin,
go to Pages » Add New to create a new page Like Blog
go to Settings » Reading
under the Front page displays option choose A static page.
under the Blog page displays option choose A Blog page.
Hello,
You should create a child theme where you can enter a custom template where you can enter the custom loop you need to have the posts you want to show.
Then you will need to create a page and activate it with the custom
template you made.
Hope that can help, however there are a lot of other ways to achieve what you want and this one is not the most beginner friendly but i think it is the most developer friendly, so i think you should at least check it out.
install the plugin visual composer it will help you a lot

Is http://www.shoutmeloud.com/videos a separate website?

I just wondering whether http://www.shoutmeloud.com/videos is a subdomain under subdirectory?
I am just curious to know how we can do that.
I have a website called http://quantumbuddy.com/ and I want to share spirtual video the same way here shoutmeloud did.
Can anyone let me know how they did?
The website Shoutmeloud is a very popular website of a very popular Indian blogger Harsh Agarwal. The website is WordPress built as told by him many times. Regarding your question - the http://www.shoutmeloud.com/videos is not a directory because if it had been a WordPress directly there would be a login url - http://www.shoutmeloud.com/videos/wp-login.php, but it is not there.
Seeing the design of http://www.shoutmeloud.com/videos i think it is a post category (videos) which shows the post contained in it(here videos).
In wordpress this comes by default, all you have to do is to create a post category and add post in it. Then in these post add youtube videos embed code.
You can easily achieve that by going to your wordpress dashboard then add a new page and name it like videos then insert some video files there whether it's a link or from your uploaded videos then save it.
To check the page, Add it to your main menu for example then save it.
The url would be like http://quantumbuddy.com/videos.
so basically the videos is the name of the page.
I checked your site and it only contain one link in the menu. Add a page and add it to your menu bar and it would display next to the Blog link.
The website you are referring to is using Genesis Theme. You can find it here
.

Wordpress blog snippet on HTML web page

Trying to figure out if there is a way to take a snippet of a wordpress blog, same site, same hosting, and plug that into a pure HTML page.
Example... I want to show the title of the blog, and first 150 characters. With a link to ..."read more" which would take the visitor to the actual blog.
Widget? or custom type of coding?
One way that WordPress exposes blog output to other applications is through the RSS feed.
It is often available by URL at
"http:// your-Wordpress-Root-URL.com/ feed".
You can use that URL in a 3rd-party widget that you use via HTML/JS on any HTML page.
They'll give you the code snippet to drop in your page.
And they'll have different options to customize things like the number of blog entries to show, and the length to preview - as you mentioned.
I'll paste a couple links to start with, and you can easily search for more online with something like "RSS feed widget" in google.
https://www.rssinclude.com
http://www.webrss.com/
http://www.rssfeedwidget.com/

Resources