Hi,
If you are referring to pages, note that only pages built with the default WordPress editor will work with AMP. Not pages built with the composer.
If you are referring to posts, the sidebar of the post will not display on AMP. Same as the mobile theme. The post content will be displayed. AMP is all about speed, getting to the content you are looking for.
What video are you referring to exactly? if the post is a video post and it has a featured video it will be displayed in AMP
– https://www.screencast.com/t/eONDSUIC
We based the design for AMP to be similar to the Yoast website
– https://yoast.com/social-media-optimization-with-yoast-seo/
– https://yoast.com/social-media-optimization-with-yoast-seo/amp/
Thank you for the answer.
I speak only about posts not pages.
It is pitty that sidebar will not be displayed because I put price and other important points into sidebar.
The video is not featured – it is just simple video element made with composer in cloud template.
-
This reply was modified 7 years by
likocorp.
Could I kindly sk for one more advise according this issue.
I want my video be visible for mobile clients.
For this I put featured video to my post and switched format of the post to Video from Standard. Now as I wanted for mobile clients featured video became visible. Thats nice.
Please look at this screen https://ibb.co/hPddZp
BUT all preview inages for this post now changed to video mode. For example in mega menu of in blocks on th ehome page I have featured video as a preview instead of the featured image. Is it possible to have video post mode but for all preview of this post to publish image preview?
So you entered the video in the post content or in the template in the end?
If it is in the post content it will be there regardless of device used to view the website.
Maybe it could be hidden for mobile devices with CSS, on AMP it will not work however, code will not apply.
If you left it in the template you can hide it per device, most elements can be hidden in the CSS tab and selecting the view port you want. Example
– https://www.screencast.com/t/bh1P37dunRC
– https://www.screencast.com/t/FYgsu25P64
If you switch to the standard post format the play icon should not be displayed anymore. If it does, it could be caching or even browser cache. Try to clear both if possible and check again.
When you set a featured video a featured image will be displayed from the video. You can remove that image and set a different one if needed, while keeping the featured video.
If I misunderstand please correct me.
Simion Thank you very much for deep discription.
But my question is a little bit different.
Please take a look https://ibb.co/gyySup
I want all users on computers and mobile see my video files – it is my statement.
For computers I made nice cloud template for posts where video goes together with text and so on before post content on the top after logo.
But then I recognized that for AMP version this block is invisible and my mobile users can not see my video.
For them I decided to upload the same video as featured video for this post, so it could appears in the top of the mobile version as well. Also I marked this post as Video post. Otherwise in mobile version thisfeatured video still invisible. But in this case the preview of this post in the main menu and in all other blocks like related articles block and home page block are as the video picture like this https://ibb.co/hPddZp but I want to make preview picture of such post as for the general post with featured image but not featured video.
Thank you!
You can remove the image created from the video, as I mentioned above. Set a featured video and publish/update the post. Then remove the image created from the video and set your own.
Then thumbnails from that image will be displayed in all modules (with the play icon since it is a video post format).
This should answer your questions. The featured image created from the video can be replaced.
It is possible either with some CSS, or in the code. Easiest would be with CSS. For example a code like this should remove the play icon from all modules where it appears
Before – http://prntscr.com/kt328i
With code – http://prntscr.com/kt32g3
.td-video-play-ico {
display: none;
}