Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

oncanplay

Description

The oncanplay attribute for HTML handles can play on an element.

Syntax

oncanplay="value"

Examples

1 · HTML

2 · JS · on

3 · JS · addEventListener

oncanplaythrough

ondurationchange

onended

onloadeddata

onloadedmetadata

onpause

onplay

onplaying

onratechange

onseeked

onseeking

onsuspend

ontimeupdate

onvolumechange

onwaiting

abbr

accept

accept-charset

accesskey

action

alt

as

async

autocapitalize

autocomplete

autofocus

autoplay

blocking

charset

checked

cite

class

color

cols

colspan

contenteditable

controls

coords

crossorigin

data

datetime

decoding

default

defer

dir

dirname

disabled

download

draggable

enctype

enterkeyhint

exportparts

fetchpriority

for

form

formaction

formenctype

formmethod

formnovalidate

formtarget

headers

height

hidden

high

href

hreflang

http-equiv

id

imagesizes

imagesrcset

inert

inputmode

integrity

is

ismap

itemid

itemprop

itemref

itemscope

itemtype

kind

label

lang

list

loading

loop

low

max

maxlength

media

method

min

minlength

multiple

muted

name

nomodule

nonce

novalidate

onabort

onafterprint

onauxclick

onbeforeinput

onbeforeprint

onbeforetoggle

onbeforeunload

onblur

oncancel

oncanplaythrough

onchange

onclick

oncontextlost

oncontextmenu

oncontextrestored

oncopy

oncut

ondblclick

ondrag

ondragend

ondragenter

ondragleave

ondragover

ondragstart

ondrop

ondurationchange

onended

onfocus

onformdata

onhashchange

oninput

oninvalid

onkeydown

onkeypress

onkeyup

onlanguagechange

onload

onloadeddata

onloadedmetadata

onloadstart

onmousedown

onmouseenter

onmouseleave

onmousemove

onmouseout

onmouseover

onmouseup

onmousewheel

onoffline

ononline

onpagehide

onpageshow

onpaste

onpause

onplay

onplaying

onprogress

onratechange

onreset

onresize

onscroll

onscrollend

onsearch

onseeked

onseeking

onselect

onstorage

onsubmit

onsuspend

ontimeupdate

ontoggle

onunload

onvolumechange

onwaiting

onwheel

open

optimum

part

pattern

ping

placeholder

playsinline

popover

popovertarget

popovertargetaction

poster

preload

readonly

referrerpolicy

rel

required

reversed

rows

rowspan

sandbox

scope

selected

shape

size

sizes

slot

span

spellcheck

src

srcdoc

srclang

srcset

start

step

style

tabindex

target

title

translate

type

usemap

value

width

wrap

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu