An electronic device is provided. The electronic device includes communication circuitry, at least one processor including
processing circuitry, and memory storing instructions, wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to receive, from an external electronic device through the communication module, first content, the original content of the first content, and
metadata of the first content, identify whether
operating system (OS) of the external electronic device is the same as OS of the electronic device, based on identifying that the OS of the external electronic device is not same as the OS of the electronic device, change a path of the original content included in the
metadata to a path related to the OS of the electronic device, and based on identifying that the OS of the external electronic device is same as the OS of the electronic device, maintain the path of the original content included in the
metadata.