The electron-optical-phonon interaction between an electron and two branches of LO-phonon modes in a quasi-one-dimensional ternary mixed crystal (TMC) of polar semiconductors is studied. The new electron-phonon interaction Hamiltonian including the unit-cell volume variation in TMCs is obtained by using the modified random element isodisplacement model and Born-Huang method. The energies of polaron are numerically calculated for several systems of III-V compounds. A group of III-nitride mixed crystals is also taken into numerical calculation in our theory. It is verified theoretically that the obvious nonlinearity of the polaronic energy and effective mass with the composition is essential and the unit-cell volume effects cannot be neglected except the very weak e-p coupling.