Use code with caution. 2. JavaScript (The Preferred Method)
If this is for a or Axis camera integration, ensure your URL string includes the correct mode: viewerframe mode refresh top
async function refreshTop() // 1. Change mode to 'refreshing' state.mode = 'refreshing'; document.getElementById('modeIndicator').innerText = 'Mode: Refreshing'; Use code with caution
[viewer_settings] frame_mode = refresh_top vsync = true priority = highest div className="viewerframe" ref=frameRef mode=mode>
return ( <div className="viewerframe" ref=frameRef mode=mode> /* Content */ <button onClick=refreshAndGoTop>Refresh Top</button> </div> );