Store OSD Viewer as data attribute instead