Strange video appears in background on Safari only [closed]

There is only one video file on your page: http://popplekharlamova.com/wp-content/uploads/2016/09/PK_VIDEO.mp4. It is being loaded on all browsers. It’s hidden in this CSS-block as a background-image: <style id=”thb-app-inline-css” type=”text/css”> .page-id-282 #wrapper div[role=”main”] {background-color: !important;background-image:url(http://popplekharlamova.com/wp-content/uploads/2016/09/PK_VIDEO.mp4) !important;background-repeat: !important;background-attachment: !important;background-position: !important;background-size: !important;}.footer {background-color:#d60000 !important;background-image:url(http://popplekharlamova.com/wp-content/uploads/2017/05/BACK.jpg) </style> Delete it from there and you will be fine if you don’t have the … Read more

Remove lines in video

Nothing to do with WordPress, but the line is applied via CSS on .qt-caption::after In your scss file, _typography.scss look for: .qt-caption { padding: 0.33em 0 0.7em 0; margin: 0 0 0.5em 0; position: relative; &::after { display: block; position: absolute; width: 100%; height: 2px; content: ” “; background: rgba(150,150,150,0.3); bottom: 0; } } And … Read more

Videos in posts are not rendered

Add this line where you want to display the video: <iframe width=”604″ height=”453″ src=”http://www.youtube.com/embed/your_video_id?feature=oembed” frameborder=”0″ allowfullscreen></iframe> replacing “your_video_id” with your id (find it in your youtube account).

How to Insert Self-Hosted Video in WordPress Post

HTML 5 <video width=”640″ height=”360″ src=”https://wordpress.stackexchange.com/wp-content/uploads/2012/04/my_video.mp4″ autobuffer> <div class=”fallback”> <p>You must have an HTML5 capable browser.</p> </div> </video> For Flash Check out JW Player

How to fetch all videos in custom page which uploaded in wp-admin (Media) in wordpress

Uploaded images, video’s etc. are stored as posts with the type “attachment”; use get_posts( ) with the right parameters. Try this; the code loops trough all attachments and displays them: $args = array( ‘post_type’ => ‘attachment’, ‘numberposts’ => -1, ‘post_status’ => null, ‘post_parent’ => null, // any parent ‘post_mime_type’ => ‘YOUR-POST-MIME-TYPE’ ); $attachments = get_posts( … Read more

Find Videos Inside a Post

This is the statement I am currently using to extract YouTube URLs from a post: preg_match(‘|http://www.youtube.com/watch\?v=([a-zA-Z0-9\-\_]+)|’, $post->post_content, $matches); $matches[1] contains the ID of the first video. This may not cover all the YouTube URL formats, but it should give you a start.

mp4 video preview

You can manually add a thumbnail with the shortcode by making use of the poster attribute. If you want to do it automatically, then you have to implement FFMPEG or LIBAV first, meaning they would have to be available on your server. Afterwards you could hook into wp_generate_attachment_metadata and automate process – I have given … Read more