Play Video Once Only

I give students online English conversation practice online with the emphasis on extemporization: rather than allowing them time to write a script, they must answer my questions immediately.

In order that they don’t cheat I have used a player that allows them to play a short question video (the sound from which they must record at the start of their answer video) ONLY ONCE.

I used the code
<video controls=“controls” onplaying=“this.controls=false” autoplay=“autoplay”><source src=“URL/filename.mp4” type=“video/mp4”>

(The autoplay often did not work, but that does not matter. It does not need to auto play)

Now my university requires that I use the kaltura player and gives me the following code

<iframe src="" width="560" height="395" allowfullscreen webkitallowfullscreen mozAllowFullScreen frameborder="0" allow="encrypted-media"></iframe>


Is there some way that I can change the code above so that students are (unless they hack) only allowed to play the video once?

(I appreciate that with a bit of hacking the students could probably have played the video more than once but my students are not good at hacking)

I hope this is possible!

I would be very grateful of your help.

Timothy Takemoto
Yamaguchi University

I tried to add a flashvar

<iframe src="[autoPLay]=true" width="560" height="395" frameborder="0" allow="encrypted-media"></iframe>

but it did not result in the video autoplaying.

This is the code to get rid of the controls{"flashvars":{"controlBarContainer.plugin":false,"largePlayBtn.plugin":false,"loadingSpinner.plugin":false,"inlineScript":false}}

So in theory the following, would autoplay and have no controls to allow replaying (I am happy for there to be a loading spinner)

like this (with my content)
<iframe src="[autoPLay]=true&flasvars[controlBarContainer.plugin]=false&flasvars[largePlayBtn.plugin]=false" width=“320” height=“240” frameborder=“0” allow=“encrypted-media”>`

But I can’t get any flashvars to work!

Does anyone have any idea why flashvars do not work for me?

I’ve been trying to get autoplay to work after writing in the embed code when the user clicks on a static poster frame. Initially this didn’t work with &flashvars[autoplay]=true but in looking at your problem, I tried again with &flashvars[autoPlay]=true and that worked. It might be as simple as changing your autoPLay to autoPlay. I hope that works for you too.