With the mature of cloud computing technology, the convergence of three networks accelerating gradually, accelerate the integration of newspapers, television and other traditional media and digital media, and the traditional media in the West have begun to show a downward trend, the "digital media era" is an unavoidable trend, it also provides a broader space and the stage for the development of electronic commerce in China. This paper introduces the modern digital media technology, focused on the analysis on the advantages of digital media technology application in electronic commerce, and introduces the application of virtual reality technology and digital media technology in electronic commerce.