added video loop and hack for devices with value and fullstops