Proceed to the next video of the custom post type but remain on the same post

So I have a custom post type in WordPress that displays html5 videos. Is there a way I could automatically play the next video once it’s over and still remain on the same post? I’m thinking something like this would be the perfect example.

Here’s a link to what I have so far.

I have a custom post type called nowthisearth_post and a custom field nowthisearth_media_url that is pulling in the link to the MP4 file. Right now there are 6 posts and would like for it to proceed to the next one after the video ends. Here’s what I have right now..

I started off using the get_next_post(); function but it doesn’t seem to work. I’m thinking maybe it would need to be converted into some sort of video playlist with thumbnails at the bottom.

<div class="container-fluid nowthis-header"> <div class="container" style="z-index:11;">     <div class="row">         <div class="col-12">             <?php $  mrssfeed_url = get_post_meta(get_the_id(), 'nowthisearth_media_url', true);?>             <video class="nowthis-video" style="" width="1280" height="720" autoplay="true" controls loop>               <source src="<?php echo $  mrssfeed_url ?>" type="video/mp4">                 Your browser does not support the video tag.             </video>         </div>         <div class="col-12">             <?php $  next_post = get_next_post();             if ( is_a( $  next_post , 'nowthisearth_post' ) ) : ?>                 <a href="<?php echo get_permalink( $  next_post->ID ); ?>"><?php echo get_the_title( $  next_post->ID ); ?></a>             <?php endif; ?>         </div>     </div> </div> 

Next steps for students’ project

I teach a basic course on game development, in which students design a game idea and write a digital prototype in Unity – about 5 minutes demonstrating the main idea and gameplay. Some of the teams did really great jobs and I would like to encourage them to continue developing their game beyond the course, but I am not sure what the next steps should be. In particular:

  • Where can they get more professional review on their prototype? There are websites that review games, but usually they are looking for complete games, not just prototypes.
  • Where can they get playtesters that will help them improve their prototype and make it a full game? Currently their game is in, but it is hard to draw attention to it.

google search brings wordpress post file name next to dns [closed]

Google search results are structured. SEO works fine, the only "complaint" is that URLs are displayed in search results. Actually it brings the wordpress post file name next to dns. I understand that the URL of a document is usually displayed in a search result in Google below the document title.

As per this:

best practices include to use words in URLs that are relevant to your site’s content and structure are friendlier for visitors navigating your site, etc.

But can we somehow remove this path+file name?

enter image description here

Is there a webpage which tells me when the next version of PHP is planned for release?

Before PHP 8.0.0 was released, I was eagerly awaiting it. It had an elaborate table detailed the planned release dates for the "GA" (final) version as well as all the betas/alphas/RCs. I unfortunately think this was just because it was a major new PHP version.

Now that I have tried PHP 8.0.0 and determined that it had a show-stopping bug, and reported that bug, and had it fixed, I’m eagerly awaiting 8.0.1 or 8.1.0 or whatever will be the next version of PHP.

Sadly, I’ve now looked through the entire PHP website without finding any such page.

Does it exist? PHP 8.0.0 was released "26 Nov 2020", so it seems like it could be due soon, but I want to know (roughly) when.

The mailing lists seem completely dead and offer zero clue into the PHP development/plans.

Does a Successful Save vs.Disease protect you until the next day?

So you have a monster that can inflict an Injury Track disease. The PC successfully saves to avoid contracting the disease when he is injured in the first round of combat. If he is injured in the same way by the same creature in the 2nd round, does he need to save again or is he "immune" for the rest of the combat and/or day? I can’t find where the RAW addresses this…

How to predict the next value in a table? [closed]

I have a table full of values. I want to know what the next values may be.

PostgreSQL cannot look into the future, but it can guess based on existing data.

I will not install any software or extensions.

I have not hooked this script up to a syringe full of poison which sticks me if it predicts the wrong number, nor will this mechanism be auto-trading on the stock market. I will not sue anyone if it predicts the wrong number. It will be used "for novelty purposes only".

What would be the most likely "algorithm" to stand the best chance of guessing the next value?

If I just do:

SELECT avg(integer_column) FROM table; 

I will get the average number. That seems like a reasonable guess, but it also seems a bit simplistic. It seems like it could do better than that, without getting into some kind of crazy, ultra-complex query.

I want to use the output of Solve and/or Reduce in next steps. But the output comes in the form of a rule [duplicate]

In a program I want to use the output of Solve and/or Reduce in next steps. But the output comes in the form of a rule, where what I want is the numerical solution. Here is an example. Say I write s=Solve[x+2==5,x]. In the next step I want to use this solution, so I write: y=2 s +3. This returns {{3+2(x->3)}}. This is a very basic need, but hours combing through the documentation leads nowhere.

Next Previous siblings child pages

I tried this piece of code : because I couldn’t figure out how to get the next and the previous post. But this code won’t work now and I’m not able to comment.

The error I get is "Undefined offset: -1" when looking for the ID. Here is the full code found on the related page. Thanks for any help !

$  pagelist = get_pages("child_of=".$  post->post_parent."&parent=".$  post->post_parent."&sort_column=menu_order&sort_order=asc"); $  pages = array(); foreach ($  pagelist as $  page) {    $  pages[] += $  page->ID; }  $  current = array_search($  post->ID, $  pages); $  prevID = $  pages[$  current-1]; $  nextID = $  pages[$  current+1]; ?>  <div class="navigation"> <?php if (!empty($  prevID)) { ?> <div class="previous"> <a href="<?php echo get_permalink($  prevID); ?>" title="<?php echo get_the_title($  prevID); ?>">Previous</a>  </div> <?php } if (!empty($  nextID)) { ?> <div class="Next"> <a href="<?php echo get_permalink($  nextID); ?>" title="<?php echo get_the_title($  nextID); ?>">Next</a> </div> <?php } ?> </div>