added poster attribute to video if jpg or png with same file name exists