EndAction public enum EndAction The actions a player can take when it finishes playing. freeze The player should freeze at the end Declaration Swift case freeze loop The player should loop the video. Declaration Swift case loop pause The player should pause playing. Declaration Swift case pause